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

Issue 1840813002: Always ignore navigation in Document::detach() in LocalFrame::navigate() (Closed)

Created:
4 years, 8 months ago by dcheng
Modified:
4 years, 8 months ago
Reviewers:
Nate Chapin
CC:
blink-reviews, chromium-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always ignore navigation in Document::detach() in LocalFrame::navigate() We already checked that FrameNavigation is enabled before trying to schedule a LocationChange; however, it was possible to construct a scenario with an opened window that would use the sync loading path and bypass this check. BUG=597532 Committed: https://crrev.com/f93a0e557dd97cc83d8b55953c2f57c5e2dfe07b Cr-Commit-Position: refs/heads/master@{#383627}

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
dcheng
Similar to https://codereview.chromium.org/1444183003, but covers the remaining branch. This feels pretty meh as a fix ...
4 years, 8 months ago (2016-03-28 21:50:59 UTC) #2
Nate Chapin
Test? https://codereview.chromium.org/1840813002/diff/1/third_party/WebKit/Source/core/frame/LocalFrame.cpp File third_party/WebKit/Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/1840813002/diff/1/third_party/WebKit/Source/core/frame/LocalFrame.cpp#newcode285 third_party/WebKit/Source/core/frame/LocalFrame.cpp:285: if (isNavigationAllowed() && isMainFrame() && !m_loader.stateMachine()->committedFirstRealDocumentLoad()) { Would ...
4 years, 8 months ago (2016-03-28 21:55:44 UTC) #3
dcheng
On 2016/03/28 at 21:55:44, japhet wrote: > Test? An automated layout test is trickier since ...
4 years, 8 months ago (2016-03-28 22:24:36 UTC) #4
Nate Chapin
LGTM. Will a unit test not work either?
4 years, 8 months ago (2016-03-28 22:25:52 UTC) #5
dcheng
On 2016/03/28 at 22:25:52, japhet wrote: > LGTM. Will a unit test not work either? ...
4 years, 8 months ago (2016-03-28 22:30:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1840813002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1840813002/20001
4 years, 8 months ago (2016-03-28 22:30:37 UTC) #8
Nate Chapin
On 2016/03/28 22:30:04, dcheng wrote: > On 2016/03/28 at 22:25:52, japhet wrote: > > LGTM. ...
4 years, 8 months ago (2016-03-28 22:30:53 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-03-29 00:16:31 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 00:18:45 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f93a0e557dd97cc83d8b55953c2f57c5e2dfe07b
Cr-Commit-Position: refs/heads/master@{#383627}

Powered by Google App Engine
This is Rietveld 408576698