Issue metadata
Sign in to add a comment
|
Subframe HistoryItem state lost on back/forward with recreated frames |
||||||||||||||||||||||||
Issue descriptionVersion: 54.0.2794.0 and earlier OS: All What steps will reproduce the problem? (1) Navigate to http://csreis.github.io/tests/cross-site-iframe.html (2) Click "Go cross-site (complex page)" (3) Scroll to the bottom of the iframe. (4) Navigate to http://csreis.github.io/tests/, destroying the iframe. (5) Go back. What is the expected output? The iframe should be scrolled to the bottom, which is what happens if you replace step 4 with: (4) Click "Go same-site" What do you see instead? The iframe is not scrolled to the bottom. Other state is lost as well, such as the document sequence number. This bug is present in default Chrome as well as OOPIF-enabled modes.
,
Jul 15 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/4e3f962bc6418327ee700d11eadee4501fa5b12f commit 4e3f962bc6418327ee700d11eadee4501fa5b12f Author: creis <creis@chromium.org> Date: Fri Jul 15 20:24:37 2016 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 Review-Url: https://codereview.chromium.org/2148313002 Cr-Commit-Position: refs/heads/master@{#405844} [modify] https://crrev.com/4e3f962bc6418327ee700d11eadee4501fa5b12f/content/browser/frame_host/navigation_controller_impl_browsertest.cc [modify] https://crrev.com/4e3f962bc6418327ee700d11eadee4501fa5b12f/third_party/WebKit/Source/core/loader/FrameLoader.cpp [modify] https://crrev.com/4e3f962bc6418327ee700d11eadee4501fa5b12f/third_party/WebKit/Source/core/loader/FrameLoader.h
,
Jul 15 2016
,
Nov 7 2017
,
Nov 7 2017
Apologies, applied the wrong component in bulk. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by creis@chromium.org
, Jul 14 2016