[webkit-dev] JavaScriptCore cross context object sharing

Gary Kratkin gary at menlosecurity.com
Sun Jun 28 08:58:06 PDT 2015


The documentation for JSContextGroupCreate states that "Contexts in the same group may share and exchange JavaScript objects.”  How is this done?

For example, given a context A, and a context B created in the same group (using JSGlobalContextCreateInGroup), how can script in B reference A's global object?

This is WebKitGTK, vintage 2.4.7.

Thanks for any guidance,
Gary Kratkin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20150628/04cf07c2/attachment.html>

More information about the webkit-dev mailing list