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

Issue 1316863009: OOPIF: Call setCoreFrame on remote-to-local swaps. (Closed)

Created:
5 years, 3 months ago by alexmos
Modified:
5 years, 3 months ago
Reviewers:
dcheng
CC:
blink-reviews, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

OOPIF: Call setCoreFrame on remote-to-local swaps. This ensures that various initializion in setCoreFrame is triggered when doing remote-to-local swaps. BUG=525285 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201726

Patch Set 1 #

Patch Set 2 : Add test #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : Add comment to put the ASSERT back in. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -7 lines) Patch
M Source/web/WebLocalFrameImpl.cpp View 1 2 3 2 chunks +9 lines, -7 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
alexmos
Daniel - does this look reasonable? https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp#newcode2011 Source/web/WebLocalFrameImpl.cpp:2011: setCoreFrame(frame); I wanted ...
5 years, 3 months ago (2015-09-03 16:33:55 UTC) #2
dcheng
https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp#newcode2011 Source/web/WebLocalFrameImpl.cpp:2011: setCoreFrame(frame); On 2015/09/03 at 16:33:55, alexmos wrote: > I ...
5 years, 3 months ago (2015-09-03 16:42:09 UTC) #3
alexmos
https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (left): https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp#oldcode750 Source/web/WebLocalFrameImpl.cpp:750: ASSERT(m_frame); This is the ASSERT. https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (right): ...
5 years, 3 months ago (2015-09-03 16:43:38 UTC) #4
dcheng
lgtm https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp#newcode2011 Source/web/WebLocalFrameImpl.cpp:2011: setCoreFrame(frame); On 2015/09/03 at 16:43:38, alexmos wrote: > ...
5 years, 3 months ago (2015-09-03 16:51:22 UTC) #5
dcheng
https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (left): https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp#oldcode750 Source/web/WebLocalFrameImpl.cpp:750: ASSERT(m_frame); On 2015/09/03 at 16:43:38, alexmos wrote: > This ...
5 years, 3 months ago (2015-09-03 16:51:43 UTC) #6
alexmos
https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (left): https://codereview.chromium.org/1316863009/diff/40001/Source/web/WebLocalFrameImpl.cpp#oldcode750 Source/web/WebLocalFrameImpl.cpp:750: ASSERT(m_frame); On 2015/09/03 16:51:43, dcheng wrote: > On 2015/09/03 ...
5 years, 3 months ago (2015-09-03 16:55:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316863009/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316863009/60001
5 years, 3 months ago (2015-09-03 17:20:19 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://src.chromium.org/viewvc/blink?view=rev&revision=201726
5 years, 3 months ago (2015-09-03 17:51:23 UTC) #11
falken
On 2015/09/03 17:51:23, commit-bot: I haz the power wrote: > Committed patchset #4 (id:60001) as ...
5 years, 3 months ago (2015-09-04 01:30:32 UTC) #12
falken
5 years, 3 months ago (2015-09-04 01:33:32 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1315543009/ by falken@chromium.org.

The reason for reverting is: I suspect this change broke webkit_unit_tests on
Nexus 4:
All/ParameterizedWebFrameTest.RemoteToLocalSwapOnMainFrameInitializesCoreFrame/0
All/ParameterizedWebFrameTest.RemoteToLocalSwapOnMainFrameInitializesCoreFrame/1
All/WebFrameResizeTest.ResizeYieldsCorrectScrollAndScaleForFixedWidth/0
All/WebFrameResizeTest.ResizeYieldsCorrectScrollAndScaleForFixedWidth/1
All/WebFrameResizeTest.ResizeYieldsCorrectScrollAndScaleForMinimumScale/0
All/WebFrameResizeTest.ResizeYieldsCorrectScrollAndScaleForWidthEqualsDeviceWidth/1
All/WebFrameResizeTest.ResizeYieldsCorrectScrollAndScaleForFixedLayout/1

First failing build:
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Android%20%28N...

Blamelist:
http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?u...
http://test-results.appspot.com/revision_range?start=347178&end=347178.

Powered by Google App Engine
This is Rietveld 408576698