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

Issue 2249423002: Do not immediately block cross-renderer extension resource loads for non-web-triggered transitions (Closed)

Created:
4 years, 4 months ago by robwu
Modified:
4 years, 1 month ago
Reviewers:
*Devlin, nasko
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not immediately block cross-renderer extension resource loads for non-web-triggered transitions This is a very conservative fix designed to fix the regression. The page transition logic was and is not in sync with the renderer-side check, see https://crbug.com/633963#c14. BUG=633963 TEST=manually using steps from bug report Committed: https://crrev.com/45ec6fecc32bff5541c237c98228122f3252902e Cr-Commit-Position: refs/heads/master@{#413258}

Patch Set 1 #

Patch Set 2 : Skip extension-specific checks for webviews. #

Total comments: 4

Patch Set 3 : Make fix less invasive, fix nullptr dereference #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M chrome/browser/extensions/chrome_url_request_util.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/url_request_util.cc View 1 2 2 chunks +7 lines, -1 line 3 comments Download

Messages

Total messages: 31 (20 generated)
robwu
Devlin: PTAL Nasko: FYI
4 years, 4 months ago (2016-08-17 10:15:23 UTC) #5
nasko
https://codereview.chromium.org/2249423002/diff/20001/extensions/browser/url_request_util.cc File extensions/browser/url_request_util.cc (left): https://codereview.chromium.org/2249423002/diff/20001/extensions/browser/url_request_util.cc#oldcode52 extensions/browser/url_request_util.cc:52: if (!ui::PageTransitionIsWebTriggerable(info->GetPageTransition())) { As per my response in the ...
4 years, 4 months ago (2016-08-17 16:31:44 UTC) #12
robwu
https://codereview.chromium.org/2249423002/diff/20001/extensions/browser/url_request_util.cc File extensions/browser/url_request_util.cc (left): https://codereview.chromium.org/2249423002/diff/20001/extensions/browser/url_request_util.cc#oldcode52 extensions/browser/url_request_util.cc:52: if (!ui::PageTransitionIsWebTriggerable(info->GetPageTransition())) { On 2016/08/17 16:31:44, nasko (out until ...
4 years, 4 months ago (2016-08-18 08:09:58 UTC) #16
Devlin
(taking over for nasko since he's ooo) https://codereview.chromium.org/2249423002/diff/40001/extensions/browser/url_request_util.cc File extensions/browser/url_request_util.cc (right): https://codereview.chromium.org/2249423002/diff/40001/extensions/browser/url_request_util.cc#newcode52 extensions/browser/url_request_util.cc:52: if (is_guest ...
4 years, 4 months ago (2016-08-18 16:58:40 UTC) #19
Devlin
LGTM so this isn't blocked (was waiting to see the wording of the comments, but ...
4 years, 4 months ago (2016-08-19 01:33:30 UTC) #20
robwu
I can't update the patch right now, so I'll tick the commit box to land ...
4 years, 4 months ago (2016-08-19 17:52:35 UTC) #21
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/2249423002/40001
4 years, 4 months ago (2016-08-19 17:54:18 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/265091)
4 years, 4 months ago (2016-08-19 19:54:54 UTC) #25
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/2249423002/40001
4 years, 4 months ago (2016-08-19 20:04:15 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-19 21:48:24 UTC) #29
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 21:52:46 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/45ec6fecc32bff5541c237c98228122f3252902e
Cr-Commit-Position: refs/heads/master@{#413258}

Powered by Google App Engine
This is Rietveld 408576698