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

Issue 2148313002: Fix setHistoryItemStateForCommit for back/forward in subframes. (Closed)

Created:
4 years, 5 months ago by Charlie Reis
Modified:
4 years, 5 months ago
Reviewers:
alexmos, dcheng
CC:
chromium-reviews, tyoshino+watch_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, loading-reviews_chromium.org, darin-cc_chromium.org, gavinp+loader_chromium.org, blink-reviews, Nate Chapin, 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

Fix setHistoryItemStateForCommit for back/forward in subframes. We were not preserving m_provisionalItem on an initial history commit of a newly created subframe, meaning that we lost things like the scroll position and document sequence number. BUG=628286 TEST=See bug for repro steps CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/4e3f962bc6418327ee700d11eadee4501fa5b12f Cr-Commit-Position: refs/heads/master@{#405844}

Patch Set 1 : Initial commit #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -6 lines) Patch
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 3 chunks +29 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 4 chunks +5 lines, -5 lines 2 comments Download

Messages

Total messages: 21 (10 generated)
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-14 17:36:17 UTC) #5
Charlie Reis
Alex, can you review (especially the test)? Daniel, can you review FrameLoader? Not sure if ...
4 years, 5 months ago (2016-07-14 20:45:47 UTC) #8
alexmos
LGTM https://codereview.chromium.org/2148313002/diff/20001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2148313002/diff/20001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode2740 content/browser/frame_host/navigation_controller_impl_browsertest.cc:2740: ->frame_entry->document_sequence_number()); Makes sense - without the fix, these ...
4 years, 5 months ago (2016-07-14 23:03:28 UTC) #10
Charlie Reis
Thanks. Daniel, your thoughts? https://codereview.chromium.org/2148313002/diff/20001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2148313002/diff/20001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode2740 content/browser/frame_host/navigation_controller_impl_browsertest.cc:2740: ->frame_entry->document_sequence_number()); On 2016/07/14 23:03:27, alexmos ...
4 years, 5 months ago (2016-07-14 23:25:01 UTC) #11
dcheng
This approach LGTM. Do you have a sense of if the other approach (splitting apart ...
4 years, 5 months ago (2016-07-15 06:41:09 UTC) #12
Charlie Reis
Thanks! On 2016/07/15 06:41:09, dcheng wrote: > This approach LGTM. > > Do you have ...
4 years, 5 months ago (2016-07-15 16:35:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2148313002/20001
4 years, 5 months ago (2016-07-15 16:37:01 UTC) #15
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-15 16:37:03 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 5 months ago (2016-07-15 20:24:58 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-15 20:25:10 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 20:26:42 UTC) #21
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4e3f962bc6418327ee700d11eadee4501fa5b12f
Cr-Commit-Position: refs/heads/master@{#405844}

Powered by Google App Engine
This is Rietveld 408576698