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

Issue 2316383002: PlzNavigate: only allow main frame resource loads for extensions (Closed)

Created:
4 years, 3 months ago by scottmg
Modified:
4 years, 3 months ago
Reviewers:
Devlin, nasko
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: only allow main frame resource loads for extensions This makes these two tests pass: ExtensionProtocolTest.AllowFrameRequests ExtensionProtocolTest.IncognitoRequest They look somewhat comprehensive from looking back at crbug.com/312269 and crbug.com/576867. But this change also feels vaguely wrong in that I feel like it should probably be the ExtensionNavigationThrottle doing some blocking. If you have any feedback on what the tests should be doing instead (creating a NavigationHandle somehow instead of directly creating URLRequests so that it gets a full complement of navigation throttles?) it would be greatly appreciated. :) R=nasko@chromium.org BUG=510836 Committed: https://crrev.com/c1dbe802a3ee22c08b1e19fcdd0d1395ab9d18ee Cr-Commit-Position: refs/heads/master@{#417614}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M extensions/browser/extension_protocols.cc View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (11 generated)
scottmg
4 years, 3 months ago (2016-09-07 23:44:14 UTC) #2
nasko
Adding Devlin, who can likely answer the test structure questions better than myself. The fix ...
4 years, 3 months ago (2016-09-08 00:09:45 UTC) #5
Devlin
On 2016/09/08 00:09:45, nasko (slow) wrote: > Adding Devlin, who can likely answer the test ...
4 years, 3 months ago (2016-09-09 00:52:37 UTC) #6
Devlin
lgtm In regards to the tests, I agree with you that many of these checks ...
4 years, 3 months ago (2016-09-09 15:03:28 UTC) #7
scottmg
On 2016/09/09 15:03:28, Devlin wrote: > lgtm > > In regards to the tests, I ...
4 years, 3 months ago (2016-09-09 16:29:32 UTC) #9
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/2316383002/1
4 years, 3 months ago (2016-09-09 16:29:58 UTC) #13
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/2316383002/1
4 years, 3 months ago (2016-09-09 16:30:42 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-09 17:28:46 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 17:32:57 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c1dbe802a3ee22c08b1e19fcdd0d1395ab9d18ee
Cr-Commit-Position: refs/heads/master@{#417614}

Powered by Google App Engine
This is Rietveld 408576698