Re: [webkit-dev] JavaScriptCore cross context object sharing
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. Geoff___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
[webkit-dev] JavaScriptCore cross context object sharing
Hello, 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___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev