On Tue, Jan 14, 2014 at 7:35 PM, Andreas Schlegel < [email protected]> wrote:
> My Questions are: > > Why is the proxy within the global not handled by a > ScriptedDirectProxyHandler and which handler is used for? > Why are the JSContext and JSRuntime identical, although the two objects > should use two different Runtimes? > I don't know the answer to the first question, sorry. As for the second: you can have arbitrarily many global objects in the same runtime. To have two different runtimes, you'd have to create them specifically. I don't know if that's even possible in the shell. The thing that's different for the two globals is the JSCompartment, which every global has its own of. _______________________________________________ dev-tech-js-engine-internals mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

