Last active
February 4, 2016 03:56
-
-
Save jtackaberry/e43aa187da6b899e1c98 to your computer and use it in GitHub Desktop.
e10s experiments (with nightly from 2016.02-03)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dump("*** child context\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This file is loaded under data/ | |
| dump("*** child context\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { remoteRequire } = require("sdk/remote/parent"); | |
| remoteRequire("./child.js", module); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** child context | |
| console.error: | |
| Message: Module `resource://nosquint-at-urandom-dot-ca/child.js` is not found at resource://nosquint-at-urandom-dot-ca/child.js | |
| Stack: | |
| @resource://gre/modules/commonjs/sdk/remote/child.js:81:3 | |
| emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 | |
| emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 | |
| messageReceived@resource://gre/modules/commonjs/sdk/remote/child.js:67:37 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var pageMod = require("sdk/page-mod"); | |
| pageMod.PageMod({ | |
| include: "*", | |
| // file is data/content.js | |
| contentScriptFile: "./content.js" | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.error: nosquint: | |
| Error opening input stream (invalid filename?): resource://nosquint-at-urandom-dot-ca/data/content.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment