mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-16 10:35:46 +01:00
Automagically generate DTDs. One more step towards dropping the chrome: protocol.
--HG-- rename : common/content/io.js => common/modules/io.jsm
This commit is contained in:
@@ -129,7 +129,9 @@ var Overlay = Module("Overlay", {
|
||||
}
|
||||
},
|
||||
|
||||
newContext: function newContext(proto) {
|
||||
newContext: function newContext(proto, normal) {
|
||||
if (normal)
|
||||
return create(proto);
|
||||
let sandbox = Components.utils.Sandbox(window, { sandboxPrototype: proto || modules, wantXrays: false });
|
||||
// Hack:
|
||||
sandbox.Object = jsmodules.Object;
|
||||
|
||||
Reference in New Issue
Block a user