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

Issue 2411293002: Fix cross-renderer resource loads for <webview> with PlzNavigate. (Closed)

Created:
4 years, 2 months ago by jam
Modified:
4 years, 2 months ago
Reviewers:
Fady Samuel
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix cross-renderer resource loads for <webview> with PlzNavigate. This is done by sharing the logic that ExtensionProtocolHandler does in ExtensionNavigationThrottle. The former doesn't have enough information for navigation requests since the process id isn't known, which is why the logic is shared into the extensions navigation throttle. The other fix is to convert WebViewGuest to use the new navigation callbacks. This fixes WebViewTests/WebViewPluginTest.TestLoadPluginInternalResource/* WebViewTests/WebViewTest.Shim_TestInvalidChromeExtensionURL/* WebViewTests/WebViewTest.Shim_TestLoadAbortChromeExtensionURLWrongPartition/* WebViewTests/WebViewTest.Shim_TestLoadAbortEmptyResponse/* WebViewTests/WebViewTest.Shim_TestLoadStartLoadRedirect/* with plzNavigate BUG=504347 Committed: https://crrev.com/6adb8c23bd7b3fe24398c5500a2f89c758e36a4d Cr-Commit-Position: refs/heads/master@{#425073}

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : merge #

Patch Set 4 : fix #

Total comments: 4

Patch Set 5 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -81 lines) Patch
M extensions/browser/extension_navigation_throttle.cc View 1 2 3 4 4 chunks +40 lines, -3 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.h View 1 2 chunks +3 lines, -18 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 7 chunks +30 lines, -34 lines 0 comments Download
M extensions/browser/url_request_util.h View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download
M extensions/browser/url_request_util.cc View 1 2 3 4 3 chunks +48 lines, -26 lines 0 comments Download

Messages

Total messages: 49 (42 generated)
jam
4 years, 2 months ago (2016-10-13 15:20:40 UTC) #36
Fady Samuel
https://codereview.chromium.org/2411293002/diff/120001/extensions/browser/guest_view/web_view/web_view_guest.cc File extensions/browser/guest_view/web_view/web_view_guest.cc (right): https://codereview.chromium.org/2411293002/diff/120001/extensions/browser/guest_view/web_view/web_view_guest.cc#newcode819 extensions/browser/guest_view/web_view/web_view_guest.cc:819: : net::ERR_BLOCKED_BY_CLIENT; This would happen if the load is ...
4 years, 2 months ago (2016-10-13 15:33:02 UTC) #37
jam
https://codereview.chromium.org/2411293002/diff/120001/extensions/browser/guest_view/web_view/web_view_guest.cc File extensions/browser/guest_view/web_view/web_view_guest.cc (right): https://codereview.chromium.org/2411293002/diff/120001/extensions/browser/guest_view/web_view/web_view_guest.cc#newcode819 extensions/browser/guest_view/web_view/web_view_guest.cc:819: : net::ERR_BLOCKED_BY_CLIENT; On 2016/10/13 15:33:01, Fady Samuel wrote: > ...
4 years, 2 months ago (2016-10-13 16:30:06 UTC) #38
Fady Samuel
lgtm
4 years, 2 months ago (2016-10-13 17:08:27 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2411293002/140001
4 years, 2 months ago (2016-10-13 17:10:40 UTC) #45
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 2 months ago (2016-10-13 17:14:53 UTC) #47
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 17:17:29 UTC) #49
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6adb8c23bd7b3fe24398c5500a2f89c758e36a4d
Cr-Commit-Position: refs/heads/master@{#425073}

Powered by Google App Engine
This is Rietveld 408576698