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

Issue 1014703003: Allow IPCs during RenderFrameObserver::FrameDetached() (Closed)

Created:
5 years, 9 months ago by Garrett Casto
Modified:
5 years, 9 months ago
Reviewers:
nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, site-isolation-reviews_chromium.org, vabr (Chromium), dvadym
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow IPCs during RenderFrameObserver::FrameDetached() Currently IPCs are disallowed to disincentivize observers from manipulating the DOM after the frame is detached, which may have unpredictable consequences. However this shouldn't resrict observers which want to send IPCs that don't require maniuplating or inspecting the frame. This resitiction is now removed and the restriction on manipulating the frame is more explicitly stated. BUG=450806 Committed: https://crrev.com/1937042392cdbd33b9c1d6f26fa165d44709c664 Cr-Commit-Position: refs/heads/master@{#320838}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -9 lines) Patch
M content/public/renderer/render_frame_observer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 1 chunk +5 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Garrett Casto
nasko@: PTAL. I didn't update the documentation in RenderViewObserver since in general functions there don't ...
5 years, 9 months ago (2015-03-16 23:00:23 UTC) #2
nasko
+site-isolation-reviews@chromium.org Not updating render_view_observer is fine, since that file has pretty much no comments. I ...
5 years, 9 months ago (2015-03-16 23:11:19 UTC) #3
Garrett Casto
https://codereview.chromium.org/1014703003/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1014703003/diff/1/content/renderer/render_frame_impl.cc#newcode2083 content/renderer/render_frame_impl.cc:2083: Send(new FrameHostMsg_Detach(routing_id_)); On 2015/03/16 23:11:18, nasko wrote: > I ...
5 years, 9 months ago (2015-03-16 23:15:58 UTC) #4
nasko
LGTM
5 years, 9 months ago (2015-03-16 23:22:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1014703003/20001
5 years, 9 months ago (2015-03-16 23:24:02 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-17 01:02:21 UTC) #8
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 01:03:04 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1937042392cdbd33b9c1d6f26fa165d44709c664
Cr-Commit-Position: refs/heads/master@{#320838}

Powered by Google App Engine
This is Rietveld 408576698