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

Issue 1331213002: Expose the V8 script context from WebRemoteFrame. (Closed)

Created:
5 years, 3 months ago by nasko
Modified:
5 years, 3 months ago
Reviewers:
dcheng
CC:
dcheng, blink-reviews, dglazkov+blink, mlamouri+watch-blink_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

The current implementation of <webview> relies on being able to access the V8 script context of the swapped out RenderFrame representing the frame in the remote process. When swapped out is disabled, there is no longer a RenderFrame, but we have RenderFrameProxy, which is backed by WebRemoteFrame. As such, to avoid breaking <webview>, it must be possible to get the V8 script context from a WebRemoteFrame. This CL adds such a method, which should not be used by any other code. Once the full migration of <webview> from BrowserPlugin to out-of-process iframes is complete, we can remove this method. BUG=357747 Committed: https://crrev.com/6872b83c0220dfe12f09ae29727f638f8df93e26 git-svn-id: svn://svn.chromium.org/blink/trunk@202163 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Patch Set 1 #

Total comments: 4

Patch Set 2 : Changes based on Daniel's review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M Source/web/WebRemoteFrameImpl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebRemoteFrameImpl.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M public/web/WebRemoteFrame.h View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
nasko
Hey Daniel, Can you review this CL for me? Thanks in advance! Nasko
5 years, 3 months ago (2015-09-11 16:49:29 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1331213002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1331213002/1
5 years, 3 months ago (2015-09-11 16:49:41 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-11 18:08:40 UTC) #6
dcheng
lgtm https://codereview.chromium.org/1331213002/diff/1/public/web/WebRemoteFrame.h File public/web/WebRemoteFrame.h (right): https://codereview.chromium.org/1331213002/diff/1/public/web/WebRemoteFrame.h#newcode47 public/web/WebRemoteFrame.h:47: // This method is only temporary, until <webview> ...
5 years, 3 months ago (2015-09-11 18:10:53 UTC) #7
nasko
https://codereview.chromium.org/1331213002/diff/1/public/web/WebRemoteFrame.h File public/web/WebRemoteFrame.h (right): https://codereview.chromium.org/1331213002/diff/1/public/web/WebRemoteFrame.h#newcode47 public/web/WebRemoteFrame.h:47: // This method is only temporary, until <webview> is ...
5 years, 3 months ago (2015-09-11 18:24:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1331213002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1331213002/20001
5 years, 3 months ago (2015-09-11 18:25:37 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://src.chromium.org/viewvc/blink?view=rev&revision=202163
5 years, 3 months ago (2015-09-11 20:51:18 UTC) #12
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:26:17 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6872b83c0220dfe12f09ae29727f638f8df93e26

Powered by Google App Engine
This is Rietveld 408576698