On Sun, Feb 9, 2014 at 9:46 PM, Sara Abdelhameed
<[email protected]> wrote:
> Hi, all
> I have a small question, can multiple contexts that are created in the same
> isolate share their objects? is it applicable that we could create two
> context one after the other in the same isolate scope and then they share
> their objects to each other?
>
> Thank you,

That's correct.  More precisely: objects created in context A are
accessible by context B when their security tokens match.

New contexts use a default security token.  You would have to change
it manually with v8::Context::SetSecurityToken() for tokens to _not_
match.

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to