[Webkit-unassigned] [Bug 27785] [V8] Add a way to register V8 extensions for Isolated Worlds only

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 28 16:02:45 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27785





--- Comment #3 from Matt Perry <mpcomplete at chromium.org>  2009-07-28 16:02:44 PDT ---
(In reply to comment #2)
> +        v8::Persistent<v8::Context> createNewContext(v8::Handle<v8::Object>
> global, bool isolatedContext);
> 
> Adding bools to this function doesn't really scale.  Can we pass in the set of
> extensions somehow?  You might want a helper function that grabs the proper set
> of extensions for normal and for isolated worlds.

Doesn't scale how? Do you foresee many other parameters being added here?

> Also, there's is no such thing as an "isolated context".  There are isolated
> worlds, which eventually will hold more than one context each.

I've been using "isolated context" as a generic term for contexts created by
either "evaluateInNewContext" or "evaluateInNewWorld". Do you have a suggestion
for a better term?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list