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

Issue 1255573005: Create FrameNavigationEntries for the initial blank page in subframes. (Closed)

Created:
5 years, 5 months ago by Charlie Reis
Modified:
5 years, 5 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create FrameNavigationEntries for the initial blank page in subframes. We did not create these before to allow us to detect whether a real page has committed or not, but that leads to problems when navigations commit in subframes with about:blank parent frames. BUG=508938 TEST=See bug comment 2 for repro steps. Committed: https://crrev.com/f0f069a2a8b0398b58b3a39ddad928093f03ae8a Cr-Commit-Position: refs/heads/master@{#340215}

Patch Set 1 #

Patch Set 2 : Fix tests and move has_committed_real_load #

Total comments: 14

Patch Set 3 : Update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -54 lines) Patch
M content/browser/frame_host/frame_tree_node.h View 1 2 2 chunks +14 lines, -6 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 8 chunks +99 lines, -23 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 2 chunks +3 lines, -8 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Charlie Reis
Avi, can you take a look? This is necessary for my location.replace fixes, and it ...
5 years, 5 months ago (2015-07-23 19:57:34 UTC) #2
Avi (use Gerrit)
lgtm https://codereview.chromium.org/1255573005/diff/20001/content/browser/frame_host/frame_tree_node.h File content/browser/frame_host/frame_tree_node.h (right): https://codereview.chromium.org/1255573005/diff/20001/content/browser/frame_host/frame_tree_node.h#newcode118 content/browser/frame_host/frame_tree_node.h:118: bool has_committed_real_load() const { // Returns true iff ...
5 years, 5 months ago (2015-07-23 20:27:58 UTC) #3
Charlie Reis
Thanks! https://codereview.chromium.org/1255573005/diff/20001/content/browser/frame_host/frame_tree_node.h File content/browser/frame_host/frame_tree_node.h (right): https://codereview.chromium.org/1255573005/diff/20001/content/browser/frame_host/frame_tree_node.h#newcode118 content/browser/frame_host/frame_tree_node.h:118: bool has_committed_real_load() const { On 2015/07/23 20:27:58, Avi ...
5 years, 5 months ago (2015-07-23 22:02:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1255573005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1255573005/40001
5 years, 5 months ago (2015-07-23 22:04:29 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/20174)
5 years, 5 months ago (2015-07-23 22:29:44 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1255573005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1255573005/40001
5 years, 5 months ago (2015-07-23 23:12:58 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-07-23 23:52:06 UTC) #12
commit-bot: I haz the power
5 years, 5 months ago (2015-07-23 23:52:50 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f0f069a2a8b0398b58b3a39ddad928093f03ae8a
Cr-Commit-Position: refs/heads/master@{#340215}

Powered by Google App Engine
This is Rietveld 408576698