On 2013/08/30 11:51, Jan Jongboom wrote:
Anyone any clue?
Error loading: resource://gre/modules/devtools/server/transport.js:
ReferenceError: `Components` is not available in this context.
Functionality provided by Components may be available in an SDK
module: https://jetpack.mozillalabs.com/sdk/latest/docs/
I'm unsure what's going wrong, but the DevTools team is in the process
of converting their modules from JSMs, which have a Components global by
default, to CommonJS modules, which require it to be imported
explicitly. And this looks like some obscure edge case with the way that
dbg-server.jsm, which is still a JSM, loads main.js, which is now a
CommonJS module, whereupon main.js loads transport.js via the subscript
loader.
In any case, I filed a bug and cc:ed the appropriate folks:
https://bugzilla.mozilla.org/show_bug.cgi?id=911127
-myk
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g