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

Issue 1009993002: PlzNavigate: destroy the speculative RFH on renderer-initiated navigations (Closed)

Created:
5 years, 9 months ago by clamy
Modified:
5 years, 9 months ago
Reviewers:
carlosk, nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: destroy the speculative RFH on renderer-initiated navigations This CL makes sure that the speculative RenderFrameHost is destroyed when a new renderer-intiated navigation cancels the current one. This fixes the NavigationControllerTest.LoadURL_NewPending when run with browser-side navigation enabled. BUG=376094 Committed: https://crrev.com/f8a56aa27183fceb0489e686a663d980ff76f97f Cr-Commit-Position: refs/heads/master@{#321178}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase #

Patch Set 3 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -3 lines) Patch
M content/browser/frame_host/navigator_impl.cc View 1 2 2 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
clamy
@nasko, carlosk: PTAL This fixes an issue with the cancelation of the speculative RFH on ...
5 years, 9 months ago (2015-03-16 16:27:31 UTC) #2
nasko
LGTM with a couple of nits. https://codereview.chromium.org/1009993002/diff/1/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/1009993002/diff/1/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode793 content/browser/frame_host/navigation_controller_impl_unittest.cc:793: main_test_rfh()->SendRendererInitiatedNavigationRequest(kNewURL, true); I ...
5 years, 9 months ago (2015-03-16 18:48:37 UTC) #3
carlosk
Cool and thanks. https://codereview.chromium.org/1009993002/diff/1/content/browser/frame_host/navigation_controller_impl_unittest.cc File content/browser/frame_host/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/1009993002/diff/1/content/browser/frame_host/navigation_controller_impl_unittest.cc#newcode793 content/browser/frame_host/navigation_controller_impl_unittest.cc:793: main_test_rfh()->SendRendererInitiatedNavigationRequest(kNewURL, true); On 2015/03/16 18:48:37, nasko ...
5 years, 9 months ago (2015-03-17 14:42:59 UTC) #4
clamy
Thanks! https://codereview.chromium.org/1009993002/diff/1/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/1009993002/diff/1/content/browser/frame_host/navigator_impl.cc#newcode655 content/browser/frame_host/navigator_impl.cc:655: CancelNavigation(frame_tree_node); On 2015/03/17 14:42:59, carlosk wrote: > Don't ...
5 years, 9 months ago (2015-03-18 13:55:55 UTC) #6
carlosk
Thanks and LGTM.
5 years, 9 months ago (2015-03-18 14:23:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1009993002/60001
5 years, 9 months ago (2015-03-18 17:41:09 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 9 months ago (2015-03-18 18:51:48 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-18 18:52:31 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f8a56aa27183fceb0489e686a663d980ff76f97f
Cr-Commit-Position: refs/heads/master@{#321178}

Powered by Google App Engine
This is Rietveld 408576698