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

Issue 613043005: OOPIF: Check whether localFrameRootTemporary is valid when processing resizing messages (Closed)

Created:
6 years, 2 months ago by alexmos
Modified:
6 years, 2 months ago
Reviewers:
kenrb, Nate Chapin, dcheng
CC:
blink-reviews, mkwst+moarreviews_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

OOPIF: Check whether localFrameRootTemporary is valid when processing resizing messages. With --site-per-process, some content_browsertests were crashing in the renderer while processing a ViewMsg_Resize, because they accessed localFrameRootTemporary()->frameView() without first checking whether localFrameRootTemporary() is valid. localFrameRootTemporary() won't be valid if site A opens a popup to site B: when we initialize the opener frame/view in B's process, the opener will just have one remote top-level frame. For an example, see RenderFrameHostManagerTest.DontSwapProcessWithOnlyTargetBlank. In this case, the resizing message is sent as part of initializing the swapped-out view for the opener, and should be ok to ignore. BUG=417518 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183695

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M Source/web/WebViewImpl.cpp View 1 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
alexmos
Daniel, could you please take a look at this?
6 years, 2 months ago (2014-10-02 21:53:50 UTC) #2
dcheng
Are we actually using RemoteFrames as top-level frames with --site-per-process? That's a surprise to me--I ...
6 years, 2 months ago (2014-10-02 22:58:28 UTC) #3
dcheng
+kenrb I just talked with Alex to understand more about this problem. The root of ...
6 years, 2 months ago (2014-10-09 20:31:09 UTC) #5
dcheng
On 2014/10/09 at 20:31:09, dcheng wrote: > +kenrb > > I just talked with Alex ...
6 years, 2 months ago (2014-10-09 20:32:42 UTC) #6
kenrb
On 2014/10/09 20:32:42, dcheng wrote: > On 2014/10/09 at 20:31:09, dcheng wrote: > > +kenrb ...
6 years, 2 months ago (2014-10-10 19:19:49 UTC) #7
kenrb
I would remove the comment but otherwise lgtm. You will need to find an owner ...
6 years, 2 months ago (2014-10-10 19:20:21 UTC) #8
dcheng
On 2014/10/10 at 19:19:49, kenrb wrote: > On 2014/10/09 20:32:42, dcheng wrote: > > On ...
6 years, 2 months ago (2014-10-10 19:34:59 UTC) #9
kenrb
On 2014/10/10 19:34:59, dcheng wrote: > > We need to allow it now, but it ...
6 years, 2 months ago (2014-10-10 20:44:13 UTC) #10
dcheng
On 2014/10/10 20:44:13, kenrb wrote: > On 2014/10/10 19:34:59, dcheng wrote: > > > We ...
6 years, 2 months ago (2014-10-10 20:50:55 UTC) #11
alexmos
On 2014/10/10 20:50:55, dcheng wrote: > On 2014/10/10 20:44:13, kenrb wrote: > > On 2014/10/10 ...
6 years, 2 months ago (2014-10-10 21:42:36 UTC) #12
kenrb
On 2014/10/10 21:42:36, alexmos wrote: > On 2014/10/10 20:50:55, dcheng wrote: > > On 2014/10/10 ...
6 years, 2 months ago (2014-10-14 17:29:26 UTC) #13
alexmos
On 2014/10/14 17:29:26, kenrb wrote: > On 2014/10/10 21:42:36, alexmos wrote: > > On 2014/10/10 ...
6 years, 2 months ago (2014-10-14 18:36:42 UTC) #14
alexmos
Nate, could you please review this for owner's approval?
6 years, 2 months ago (2014-10-14 18:37:44 UTC) #16
Nate Chapin
lgtm
6 years, 2 months ago (2014-10-14 18:45:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613043005/120001
6 years, 2 months ago (2014-10-14 19:37:34 UTC) #19
commit-bot: I haz the power
6 years, 2 months ago (2014-10-14 20:18:46 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:120001) as 183695

Powered by Google App Engine
This is Rietveld 408576698