Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Issue 23548008: Don't set the request target type to object when navigating from a Pepper plug-in. (Closed)

Created:
7 years, 3 months ago by Bernhard Bauer
Modified:
7 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Don't set the request target type to object when navigating from a Pepper plug-in. The request target type used to be object for all requests coming from a Pepper plug-in (since http://crrev.com/142370), but we only want it for the initial plug-in file, not for navigations. BUG=283374 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221231

Patch Set 1 #

Total comments: 2

Patch Set 2 : check for subframe #

Total comments: 4

Patch Set 3 : check for subframe #

Patch Set 4 : check for subframe #

Patch Set 5 : . #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M content/renderer/pepper/pepper_url_loader_host.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/pepper/url_request_info_util.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Bernhard Bauer
Please review.
7 years, 3 months ago (2013-09-02 16:23:21 UTC) #1
vabr (Chromium)
On 2013/09/02 16:23:21, Bernhard Bauer wrote: > Please review. Fix LGTM. A test for that ...
7 years, 3 months ago (2013-09-02 16:32:17 UTC) #2
Bernhard Bauer
Yuzhu, can I get an OWNERS review? Thanks!
7 years, 3 months ago (2013-09-03 15:55:53 UTC) #3
yzshen1
https://codereview.chromium.org/23548008/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/23548008/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode2760 content/renderer/pepper/pepper_plugin_instance_impl.cc:2760: WebURLRequest::TargetIsMainFrame, Is it possible that this navigate happens in ...
7 years, 3 months ago (2013-09-03 18:13:39 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/23548008/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/23548008/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode2760 content/renderer/pepper/pepper_plugin_instance_impl.cc:2760: WebURLRequest::TargetIsMainFrame, On 2013/09/03 18:13:40, yzshen1 wrote: > Is it ...
7 years, 3 months ago (2013-09-03 20:58:02 UTC) #5
yzshen1
https://codereview.chromium.org/23548008/diff/12001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/23548008/diff/12001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode2760 content/renderer/pepper/pepper_plugin_instance_impl.cc:2760: frame->parent() ? (forgive me if I misunderstand this) I ...
7 years, 3 months ago (2013-09-03 21:04:25 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/23548008/diff/12001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/23548008/diff/12001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode2760 content/renderer/pepper/pepper_plugin_instance_impl.cc:2760: frame->parent() ? On 2013/09/03 21:04:26, yzshen1 wrote: > (forgive ...
7 years, 3 months ago (2013-09-03 21:15:08 UTC) #7
yzshen1
https://codereview.chromium.org/23548008/diff/12001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/23548008/diff/12001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode2760 content/renderer/pepper/pepper_plugin_instance_impl.cc:2760: frame->parent() ? I don't know the answer. I think ...
7 years, 3 months ago (2013-09-03 21:19:41 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/23548008/diff/12001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/23548008/diff/12001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode2760 content/renderer/pepper/pepper_plugin_instance_impl.cc:2760: frame->parent() ? On 2013/09/03 21:19:42, yzshen1 wrote: > I ...
7 years, 3 months ago (2013-09-03 21:59:26 UTC) #9
Bernhard Bauer
I take it back! I looked into it a bit more, and ResourceFetcher infers the ...
7 years, 3 months ago (2013-09-04 11:45:24 UTC) #10
yzshen1
LGTM Thanks!
7 years, 3 months ago (2013-09-04 16:49:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/23548008/47001
7 years, 3 months ago (2013-09-04 16:49:57 UTC) #12
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 18:47:52 UTC) #13
Message was sent while issue was closed.
Change committed as 221231

Powered by Google App Engine
This is Rietveld 408576698