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

Issue 2368533002: PlzNavigate: reset NavigationRequest on user-initiated navigation commit (Closed)

Created:
4 years, 3 months ago by clamy
Modified:
4 years, 3 months ago
Reviewers:
nasko
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: reset NavigationRequest on user-initiated navigation commit This CL makes it so that an ongoing navigation is reset when a ueser-initiated same-site or a cross-site navigation commits. This matches what we're doing when deleting the speculative RFH. This solves the issue with WebContentsImplTest.CrossSiteNavigationBackOldNavigationIgnored when browser-side navigation is enabled: a navigation commits and deletes the speculative RFH created by another navigation, which is unexpected from the second NavigationRequest. With this fix, the NavigationRequest is reset at the same time as the speculative RFH. BUG=439423 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/9e542ceb2acef8ce6ed3409411c8f6bf7d17143a Cr-Commit-Position: refs/heads/master@{#420783}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -0 lines) Patch
M content/browser/frame_host/navigator_impl_unittest.cc View 1 chunk +70 lines, -0 lines 1 comment Download
M content/browser/frame_host/render_frame_host_manager.cc View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
clamy
@nasko: PTAL
4 years, 3 months ago (2016-09-23 13:41:05 UTC) #4
nasko
LGTM with a nit. https://codereview.chromium.org/2368533002/diff/1/content/browser/frame_host/navigator_impl_unittest.cc File content/browser/frame_host/navigator_impl_unittest.cc (right): https://codereview.chromium.org/2368533002/diff/1/content/browser/frame_host/navigator_impl_unittest.cc#newcode1232 content/browser/frame_host/navigator_impl_unittest.cc:1232: ASSERT_TRUE(speculative_rfh_2); nit: This is technically ...
4 years, 3 months ago (2016-09-23 22:19:24 UTC) #7
nasko
Since my nit is very minor and the CQ dryrun passed, I'll send this CL ...
4 years, 3 months ago (2016-09-23 23:20:00 UTC) #10
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/2368533002/1
4 years, 3 months ago (2016-09-23 23:20:26 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-23 23:26:24 UTC) #14
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 23:29:27 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9e542ceb2acef8ce6ed3409411c8f6bf7d17143a
Cr-Commit-Position: refs/heads/master@{#420783}

Powered by Google App Engine
This is Rietveld 408576698