[webkit-dev] JavaScriptCore cross context object sharing

Geoffrey Garen ggaren at apple.com
Mon Jun 29 13:11:26 PDT 2015

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

Your C code can take a JSObjectRef from one context and use JSObjectSetProperty on another context’s global object in order to make the JSObjectRef accessible.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20150629/bb663358/attachment.html>

More information about the webkit-dev mailing list