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

Issue 1816763002: OOPIF: Fix subframe back/forward after recreating FTNs. (Closed)

Created:
4 years, 9 months ago by Charlie Reis
Modified:
4 years, 7 months ago
Reviewers:
alexmos
CC:
chromium-reviews, extensions-reviews_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, chromium-apps-reviews_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

OOPIF: Fix subframe back/forward after recreating FTNs. In some cases, we would navigate the main frame when going back/forward in a subframe. This was because the FTN ID had changed from what was stored in the FrameNavigationEntry. We can now use the frame's unique name to find the FrameNavigationEntry as well. Also relaxes the restriction that a FrameNavigationEntry's item and document sequence numbers don't change, at least until https://crbug.com/596707 is fixed. BUG=586324, 568768 TEST=See bug for repro steps. CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/273cbf61991e5339108de04c8a51fdb00a0916d5 Cr-Commit-Position: refs/heads/master@{#386756}

Patch Set 1 #

Patch Set 2 : Try simple fix #

Patch Set 3 : Clean up #

Patch Set 4 : Fix AddOrUpdateEntry, add test #

Total comments: 15

Patch Set 5 : Rebase #

Patch Set 6 : Fix review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -66 lines) Patch
M content/browser/frame_host/frame_navigation_entry.cc View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 3 4 4 chunks +14 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 3 4 5 5 chunks +84 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.h View 1 2 3 4 5 chunks +11 lines, -17 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 3 4 7 chunks +18 lines, -26 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 1 chunk +7 lines, -7 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M testing/buildbot/filters/isolate-extensions.content_browsertests.filter View 1 chunk +0 lines, -1 line 0 comments Download
M testing/buildbot/filters/site-per-process.content_browsertests.filter View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (8 generated)
Charlie Reis
Alex, can you take a look? This re-enables one the last few disabled tests, plus ...
4 years, 8 months ago (2016-04-04 16:21:20 UTC) #6
alexmos
Nice, LGTM with a couple of nits and questions below. https://codereview.chromium.org/1816763002/diff/60001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/1816763002/diff/60001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode2728 ...
4 years, 8 months ago (2016-04-06 17:14:23 UTC) #7
alexmos
On 2016/04/04 16:21:20, Charlie Reis (slow til 4-8) wrote: > Alex, can you take a ...
4 years, 8 months ago (2016-04-06 17:19:43 UTC) #8
Charlie Reis
Sorry for the long delay! New patch up. Can you give it a sanity check ...
4 years, 8 months ago (2016-04-12 16:25:50 UTC) #9
alexmos
LGTM! https://codereview.chromium.org/1816763002/diff/60001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/1816763002/diff/60001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode2729 content/browser/frame_host/navigation_controller_impl_browsertest.cc:2729: // the transfer, causing the renderer to crash. ...
4 years, 8 months ago (2016-04-12 18:55:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816763002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816763002/100001
4 years, 8 months ago (2016-04-12 18:59:42 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-12 19:29:15 UTC) #14
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/273cbf61991e5339108de04c8a51fdb00a0916d5 Cr-Commit-Position: refs/heads/master@{#386756}
4 years, 8 months ago (2016-04-12 19:30:48 UTC) #16
Charlie Reis
4 years, 8 months ago (2016-04-13 21:20:35 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/1889583003/ by creis@chromium.org.

The reason for reverting is: This appears to have caused browser crashes in
https://crbug.com/603245..

Powered by Google App Engine
This is Rietveld 408576698