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

Issue 1451123002: Block javascript: document navigations during page dismissal events. (Closed)

Created:
5 years, 1 month ago by Mariusz Mlynski
Modified:
5 years, 1 month ago
Reviewers:
Nate Chapin, dcheng
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, loading-reviews_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Block javascript: document navigations during page dismissal events. This basically reflects the logic from FrameLoader::startLoad. Before this patch, javascript: document navigations could be performed during page dismissal events. This could be problematic, especially that dismissal events prevent loaders from being stopped or detached. This patch adds a bail-out condition to FrameLoader::replaceDocumentWhileExecutingJavaScriptURL. BUG=556724 Committed: https://crrev.com/e6fabc430b0f6a52dacc47860d66da09c79c310b Cr-Commit-Position: refs/heads/master@{#360242}

Patch Set 1 #

Patch Set 2 : added e-mail to AUTHORS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -1 line) Patch
M AUTHORS View 1 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/javascript-uri-navigation-blocked-in-unload-handler.html View 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/javascript-uri-navigation-blocked-in-unload-handler-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (7 generated)
dcheng
The fix seems reasonable, but this area appears to be wildly underspecified. I tried to ...
5 years, 1 month ago (2015-11-17 22:40:24 UTC) #2
Nate Chapin
On 2015/11/17 22:40:24, dcheng wrote: > The fix seems reasonable, but this area appears to ...
5 years, 1 month ago (2015-11-17 22:53:35 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1451123002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1451123002/1
5 years, 1 month ago (2015-11-17 23:11:47 UTC) #5
dcheng
lgtm Marius, if you're around, can you upload a new version of the patch but ...
5 years, 1 month ago (2015-11-17 23:22:33 UTC) #6
Mariusz Mlynski
On 2015/11/17 22:40:24, dcheng wrote: > IE: I'm not able to get the unload handler ...
5 years, 1 month ago (2015-11-17 23:25:59 UTC) #7
Mariusz Mlynski
On 2015/11/17 23:22:33, dcheng wrote: > lgtm > > Marius, if you're around, can you ...
5 years, 1 month ago (2015-11-17 23:27:06 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, no build URL)
5 years, 1 month ago (2015-11-17 23:39:29 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1451123002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1451123002/20001
5 years, 1 month ago (2015-11-17 23:57:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1451123002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1451123002/20001
5 years, 1 month ago (2015-11-18 00:00:39 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-18 01:01:07 UTC) #17
commit-bot: I haz the power
5 years, 1 month ago (2015-11-18 01:01:56 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e6fabc430b0f6a52dacc47860d66da09c79c310b
Cr-Commit-Position: refs/heads/master@{#360242}

Powered by Google App Engine
This is Rietveld 408576698