If you want JS code to load into a context with something predefined,
you probably want to be using a sandbox and a subscript loader, not
JSM's.
For an example, check out this code that uses Thunderbird's fake-server
code that used to run in an xpcshell context but instead run it in a
sandbox (see
What exactly are you trying to do?
On 05/06/15 09:22, 罗勇刚(Yonggang Luo) wrote:
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform
2 matches
Mail list logo