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

Issue 2403813002: Do not create NavigationHandles for inactive RenderFrameHosts (Closed)

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

Description

Do not create NavigationHandles for inactive RenderFrameHosts This CL ensures that no NavigationHandle will be created in a RenderFrameHost that is no longer active. This also fixes a similar issue in PlzNavigate, where a renderer that is no longer active could start a navigation. BUG=621856 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/ea67b131fe91c553c319964f809c42d06d9786b3 Cr-Commit-Position: refs/heads/master@{#424405}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed commments + Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -0 lines) Patch
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 1 chunk +68 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
clamy
@nasko: PTAL
4 years, 2 months ago (2016-10-10 12:38:03 UTC) #8
nasko
lfg@ recently disabled all navigations from unload handler, so this change seems safe to me. ...
4 years, 2 months ago (2016-10-10 20:41:11 UTC) #9
clamy
Thanks! https://codereview.chromium.org/2403813002/diff/1/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (left): https://codereview.chromium.org/2403813002/diff/1/content/browser/frame_host/render_frame_host_impl.cc#oldcode1307 content/browser/frame_host/render_frame_host_impl.cc:1307: base::debug::DumpWithoutCrashing(); On 2016/10/10 20:41:10, nasko (slow) wrote: > ...
4 years, 2 months ago (2016-10-11 10:34:27 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/2403813002/20001
4 years, 2 months ago (2016-10-11 10:34:52 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-11 11:43:17 UTC) #15
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 11:44:57 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ea67b131fe91c553c319964f809c42d06d9786b3
Cr-Commit-Position: refs/heads/master@{#424405}

Powered by Google App Engine
This is Rietveld 408576698