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

Issue 2280783002: Don't forward load event when a RenderFrameHost is pending deletion. (Closed)

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

Don't forward load event when a RenderFrameHost is pending deletion. It was possible that a RFH became pending deletion in parallel to it dispatching a load event, which could trigger a renderer kill in RenderFrameHostImpl::OnDispatchLoad due to not finding a proxy in the parent's SiteInstance. Instead, ignore load events dispatched when a RFH is pending deletion. A test for this will be landed separately; see https://crbug.com/636513#10 for repro steps. BUG=636513 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/5a8d0a6e170969e26a53a809421c359b36d44e47 Cr-Commit-Position: refs/heads/master@{#414570}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use is_active() to check pending deletion #

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

Messages

Total messages: 16 (10 generated)
alexmos
Charlie, can you please take a quick look? See my analysis and description of how ...
4 years, 3 months ago (2016-08-25 21:43:40 UTC) #5
Charlie Reis
Thanks for figuring this out! LGTM with nit. I'm ok landing the test separately, but ...
4 years, 3 months ago (2016-08-25 21:54:02 UTC) #6
alexmos
Thanks! On 2016/08/25 21:54:02, Charlie Reis (OOO til 8-30) wrote: > Thanks for figuring this ...
4 years, 3 months ago (2016-08-25 22:03:46 UTC) #9
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/2280783002/20001
4 years, 3 months ago (2016-08-25 22:06:42 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-25 22:52:34 UTC) #14
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 22:54:53 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5a8d0a6e170969e26a53a809421c359b36d44e47
Cr-Commit-Position: refs/heads/master@{#414570}

Powered by Google App Engine
This is Rietveld 408576698