Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(29)

Issue 1164883002: Ignore attempts to navigate once a provisional commit has gotten too far along. (Closed)

Created:
4 years, 11 months ago by michaeln
Modified:
4 years, 10 months ago
CC:
blink-reviews, gavinp+loader_chromium.org, hush (inactive), tyoshino+watch_chromium.org, dcheng
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Ignore attempts to navigate once a provisional commit has gotten too far along. BUG=492851 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196801

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 6

Patch Set 7 : cosmetic changes #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -4 lines) Patch
A LayoutTests/http/tests/navigation/navigate-during-commit.html View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/navigation/resources/navigate-during-commit-iframe.html View 1 2 3 4 5 6 7 8 1 chunk +24 lines, -0 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/loader/NavigationScheduler.h View 1 2 3 4 5 6 7 8 9 4 chunks +22 lines, -1 line 0 comments Download
M Source/core/loader/NavigationScheduler.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (3 generated)
michaeln
https://codereview.chromium.org/1164883002/diff/1/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/1164883002/diff/1/Source/core/loader/FrameLoader.cpp#newcode977 Source/core/loader/FrameLoader.cpp:977: NavigationDisablerForBeforeUnload navigationDisabler; I have to rename the class still.
4 years, 11 months ago (2015-06-03 00:51:50 UTC) #2
michaeln
renamed the class and fixed up the test, but still discussing the fix in crbug/492851
4 years, 11 months ago (2015-06-03 19:43:01 UTC) #3
michaeln
https://codereview.chromium.org/1164883002/diff/1/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/1164883002/diff/1/Source/core/loader/FrameLoader.cpp#newcode966 Source/core/loader/FrameLoader.cpp:966: dispatchUnloadEvent(); Maybe a separate issue, but An earlier (pdl ...
4 years, 11 months ago (2015-06-03 19:43:59 UTC) #4
michaeln
trybots look happy with layout tests
4 years, 11 months ago (2015-06-03 21:05:50 UTC) #5
dcheng
On 2015/06/03 at 21:05:50, michaeln wrote: > trybots look happy with layout tests I think ...
4 years, 11 months ago (2015-06-03 21:41:16 UTC) #6
michaeln
> I think you can simplify the test somewhat. You just need this in an ...
4 years, 11 months ago (2015-06-03 23:12:22 UTC) #7
michaeln
hola, ptal
4 years, 11 months ago (2015-06-04 18:44:08 UTC) #8
michaeln
ping, is the addition of this line of code ok? if (m_documentLoader) { NavigationDisabler navigationDisabler; ...
4 years, 11 months ago (2015-06-05 01:29:34 UTC) #9
hush (inactive)
looks good to me.
4 years, 11 months ago (2015-06-05 21:08:58 UTC) #11
michaeln
I'll make a class like this... class FrameNavigationDisabler public: explicit FrameNavigationDisabler(LocalFrame* frame); ~FrameNavigationDisabler(); static bool ...
4 years, 11 months ago (2015-06-06 01:29:19 UTC) #12
Nate Chapin
On 2015/06/06 01:29:19, michaeln wrote: > I'll make a class like this... > > class ...
4 years, 10 months ago (2015-06-08 16:46:35 UTC) #13
michaeln
ptal In the most recent snapshot NavigationDisablerForBeforeUnload is renamed to simply NavigationDisabler, should i undo ...
4 years, 10 months ago (2015-06-08 23:04:23 UTC) #14
Nate Chapin
Two global nits: * More descriptive change name than "hashNav" * LayoutTests/http/tests/navigation/resources/navigate-during-commit.iframe.html has multiple "."s. ...
4 years, 10 months ago (2015-06-09 00:15:20 UTC) #15
michaeln
Take a look and dcheng's comments on the bug too. https://codereview.chromium.org/1164883002/diff/100001/Source/core/loader/NavigationScheduler.cpp File Source/core/loader/NavigationScheduler.cpp (right): https://codereview.chromium.org/1164883002/diff/100001/Source/core/loader/NavigationScheduler.cpp#newcode65 ...
4 years, 10 months ago (2015-06-09 01:15:02 UTC) #16
michaeln
> Two global nits: > * More descriptive change name than "hashNav" > * LayoutTests/http/tests/navigation/resources/navigate-during-commit.iframe.html ...
4 years, 10 months ago (2015-06-09 01:22:02 UTC) #17
Nate Chapin
LGTM. I think we probably should do most/all of what dcheng suggestsed, but it's probably ...
4 years, 10 months ago (2015-06-09 15:16:16 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1164883002/200001
4 years, 10 months ago (2015-06-09 18:53:55 UTC) #20
commit-bot: I haz the power
4 years, 10 months ago (2015-06-09 22:03:43 UTC) #21
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196801

Powered by Google App Engine
This is Rietveld 408576698