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

Issue 118188: Run content scripts in their own isolated world. (Closed)

Created:
11 years, 6 months ago by abarth-chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Run content scripts in their own isolated world. Hidden behind the --isolated-world command line argument to let us iterate on this feature.R=aaBUG=12218 TEST=None :( (I have a testing plan we can put in place once the upstream half of this CL lands.) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19225

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 21

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 7

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -129 lines) Patch
M base/base_switches.h View 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M base/base_switches.cc View 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webframe_impl.cc View 4 5 6 2 chunks +6 lines, -1 line 0 comments Download
M webkit/port/bindings/v8/v8_proxy.h View 1 2 3 4 5 6 2 chunks +10 lines, -1 line 0 comments Download
M webkit/port/bindings/v8/v8_proxy.cpp View 1 2 3 4 5 6 12 chunks +186 lines, -127 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Aaron Boodman
More substantial comments coming. Mostly just sending this to add Mike and Feng, who know ...
11 years, 6 months ago (2009-06-08 20:45:30 UTC) #1
Aaron Boodman
Ok, so I have some high-level questions: a) You're using V8Proxy::GetEntered() to return the dom ...
11 years, 6 months ago (2009-06-08 22:18:43 UTC) #2
abarth-chromium
On 2009/06/08 22:18:43, Aaron Boodman wrote: > a) You're using V8Proxy::GetEntered() to return the dom ...
11 years, 6 months ago (2009-06-08 23:05:14 UTC) #3
Aaron Boodman
On 2009/06/08 23:05:14, abarth wrote: > On 2009/06/08 22:18:43, Aaron Boodman wrote: > > a) ...
11 years, 6 months ago (2009-06-09 06:39:36 UTC) #4
Mike Belshe
I like the v8proxy refactoring! I'm not quite sure I understand how the isolated world ...
11 years, 6 months ago (2009-06-09 16:06:17 UTC) #5
abarth-chromium
Thanks for looking at this Mike. I have one more round of work to do ...
11 years, 6 months ago (2009-06-09 16:37:25 UTC) #6
Feng Qian
Hi Adam, My biggest concern is using Context* as HashMap key. This is error-prone. Please ...
11 years, 6 months ago (2009-06-09 18:59:56 UTC) #7
abarth-chromium
Thanks for your comments Feng. http://codereview.chromium.org/118188/diff/1008/18 File webkit/port/bindings/v8/v8_isolated_world.cpp (right): http://codereview.chromium.org/118188/diff/1008/18#newcode32 Line 32: #include <v8.h> On ...
11 years, 6 months ago (2009-06-09 19:07:15 UTC) #8
abarth-chromium
I think I've addressed all the previous review comments. Ready for another round. :) Almost ...
11 years, 6 months ago (2009-06-13 06:47:24 UTC) #9
Aaron Boodman
lgtm. My comments can be generalized to: please add comments. I didn't look closely at ...
11 years, 6 months ago (2009-06-15 18:48:19 UTC) #10
abarth-chromium
11 years, 6 months ago (2009-06-16 00:08:34 UTC) #11
On 2009/06/15 18:48:19, Aaron Boodman wrote:
> lgtm.

Thanks Aaron.  I've uploaded a new version of the patch with your comments
addressed.  This is now blocked on running performance benchmarks.

Powered by Google App Engine
This is Rietveld 408576698