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

Issue 573353002: Plumbing toward transitioning remote frame back to a local frame. (Closed)

Created:
6 years, 3 months ago by Nate Chapin
Modified:
6 years, 2 months ago
Reviewers:
dcheng, abarth-chromium
CC:
abarth-chromium, blink-reviews, blink-reviews-html_chromium.org, dglazkov+blink, jamesr, mkwst+moarreviews_chromium.org, site-isolation-dev_chromium.org
Project:
blink
Visibility:
Public.

Description

Plumbing toward transitioning remote frame back to a local frame. Currently, navigating a RemoteFrame "works" in --site-per-process release builds but reliably asserts in debug builds. It "works" by overwriting the RemoteFrame with a LocalFrame and proceeding as though this is a standard local->local transition. This patch breaks that and sets up plumbing to notify the browser process that a RemoteFrame was asked to navigate. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182795

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : forward declarations, drop a spurious parameter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -136 lines) Patch
M Source/core/core.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/Frame.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M Source/core/frame/LocalFrame.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/LocalFrame.cpp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/frame/RemoteFrame.h View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M Source/core/frame/RemoteFrame.cpp View 1 2 3 3 chunks +13 lines, -2 lines 0 comments Download
A Source/core/frame/RemoteFrameClient.h View 1 1 chunk +23 lines, -0 lines 0 comments Download
M Source/core/html/HTMLFrameOwnerElement.cpp View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M Source/web/RemoteFrameClient.h View 1 1 chunk +0 lines, -39 lines 0 comments Download
M Source/web/RemoteFrameClient.cpp View 1 1 chunk +0 lines, -67 lines 0 comments Download
A + Source/web/RemoteFrameClientImpl.h View 1 3 chunks +9 lines, -7 lines 0 comments Download
A + Source/web/RemoteFrameClientImpl.cpp View 1 2 3 2 chunks +19 lines, -11 lines 0 comments Download
M Source/web/WebRemoteFrameImpl.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/web/WebRemoteFrameImpl.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/web/web.gypi View 1 1 chunk +2 lines, -2 lines 0 comments Download
M public/web/WebRemoteFrameClient.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
Nate Chapin
https://codereview.chromium.org/573353002/diff/1/Source/core/frame/FrameClient.h File Source/core/frame/FrameClient.h (right): https://codereview.chromium.org/573353002/diff/1/Source/core/frame/FrameClient.h#newcode32 Source/core/frame/FrameClient.h:32: virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry) { } Should ...
6 years, 3 months ago (2014-09-17 19:42:54 UTC) #2
dcheng
https://codereview.chromium.org/573353002/diff/1/Source/core/frame/FrameClient.h File Source/core/frame/FrameClient.h (right): https://codereview.chromium.org/573353002/diff/1/Source/core/frame/FrameClient.h#newcode32 Source/core/frame/FrameClient.h:32: virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry) { } On ...
6 years, 3 months ago (2014-09-17 21:38:25 UTC) #3
Nate Chapin
On 2014/09/17 21:38:25, dcheng (OOO) wrote: > https://codereview.chromium.org/573353002/diff/1/Source/core/frame/FrameClient.h > File Source/core/frame/FrameClient.h (right): > > https://codereview.chromium.org/573353002/diff/1/Source/core/frame/FrameClient.h#newcode32 ...
6 years, 3 months ago (2014-09-18 17:44:08 UTC) #4
Nate Chapin
On 2014/09/18 17:44:08, Nate Chapin wrote: > On 2014/09/17 21:38:25, dcheng (OOO) wrote: > > ...
6 years, 3 months ago (2014-09-23 19:46:23 UTC) #5
dcheng
https://codereview.chromium.org/573353002/diff/40001/Source/core/frame/Frame.h File Source/core/frame/Frame.h (right): https://codereview.chromium.org/573353002/diff/40001/Source/core/frame/Frame.h#newcode34 Source/core/frame/Frame.h:34: #include "platform/weborigin/Referrer.h" Do we prefer to forward declare in ...
6 years, 3 months ago (2014-09-25 00:21:19 UTC) #6
Nate Chapin
https://codereview.chromium.org/573353002/diff/40001/Source/core/frame/Frame.h File Source/core/frame/Frame.h (right): https://codereview.chromium.org/573353002/diff/40001/Source/core/frame/Frame.h#newcode34 Source/core/frame/Frame.h:34: #include "platform/weborigin/Referrer.h" On 2014/09/25 00:21:19, dcheng wrote: > Do ...
6 years, 2 months ago (2014-09-25 20:19:19 UTC) #7
dcheng
lgtm
6 years, 2 months ago (2014-09-25 23:49:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/573353002/60001
6 years, 2 months ago (2014-09-26 16:44:12 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/16145)
6 years, 2 months ago (2014-09-26 16:52:30 UTC) #12
abarth-chromium
public LGTM
6 years, 2 months ago (2014-09-26 19:57:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/573353002/60001
6 years, 2 months ago (2014-09-26 19:58:02 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 22:03:33 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as 182795

Powered by Google App Engine
This is Rietveld 408576698