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

Issue 1173513002: Fix Blink commit type for subframes after initial about:blank load. (Closed)

Created:
5 years, 6 months ago by Charlie Reis
Modified:
5 years, 6 months ago
Reviewers:
Nate Chapin
CC:
blink-reviews, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org, nasko
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix Blink commit type for subframes after initial about:blank load. This ensures that we do not create a new history item for whatever page replaces the initial about:blank page in an iframe. BUG=464014, 310347, 178380 TEST=Click a link in an initially about:blank iframe. No history item created. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196964

Patch Set 1 #

Patch Set 2 : Fix compile #

Patch Set 3 : Fix broken layout test #

Total comments: 9

Patch Set 4 : Move fix, add test #

Patch Set 5 : Try removing Nasko's original fix #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -46 lines) Patch
M LayoutTests/http/tests/navigation/forward-and-cancel-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/navigation/resources/forward-and-cancel-frames.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 3 4 2 chunks +8 lines, -10 lines 1 comment Download
M Source/core/loader/NavigationScheduler.cpp View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M Source/web/WebLocalFrameImpl.cpp View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 4 2 chunks +39 lines, -23 lines 1 comment Download

Messages

Total messages: 11 (3 generated)
Charlie Reis
Nate, can I get your advice on this? It seems a bit awkward to me, ...
5 years, 6 months ago (2015-06-09 07:14:19 UTC) #2
Nate Chapin
This seems reasonable in general. https://codereview.chromium.org/1173513002/diff/40001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/1173513002/diff/40001/Source/core/loader/FrameLoader.cpp#newcode682 Source/core/loader/FrameLoader.cpp:682: if (!m_stateMachine.committedMultipleRealLoads() Should this ...
5 years, 6 months ago (2015-06-09 18:25:33 UTC) #3
Charlie Reis
[+nasko] Ok! I've done some more digging and found how this relates to (and replaces) ...
5 years, 6 months ago (2015-06-11 16:43:49 UTC) #5
Nate Chapin
lgtm
5 years, 6 months ago (2015-06-11 16:56:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1173513002/100001
5 years, 6 months ago (2015-06-11 17:56:01 UTC) #8
commit-bot: I haz the power
Committed patchset #5 (id:100001) as https://src.chromium.org/viewvc/blink?view=rev&revision=196964
5 years, 6 months ago (2015-06-11 17:59:38 UTC) #9
dglazkov
On 2015/06/11 at 17:59:38, commit-bot wrote: > Committed patchset #5 (id:100001) as https://src.chromium.org/viewvc/blink?view=rev&revision=196964 This seems ...
5 years, 6 months ago (2015-06-11 20:15:39 UTC) #10
dglazkov
5 years, 6 months ago (2015-06-11 20:18:42 UTC) #11
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:100001) has been created in
https://codereview.chromium.org/1177313002/ by dglazkov@chromium.org.

The reason for reverting is: Broke SitePerProcessBrowserTest.NavigateRemoteFrame
and SitePerProcessBrowserTest.NavigateRemoteFrameToBlankAndDataURLs..

Powered by Google App Engine
This is Rietveld 408576698