mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
Bug 1514210 part 1 - Create the devtools sandbox in a new compartment for now. r=bzbarsky
There's a small number of devtools test failures that will be fixed by Alexandre in bug 1515290. When that lands we can revert this change. Differential Revision: https://phabricator.services.mozilla.com/D15290 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
78e49f6404
commit
9f6f1773d0
@ -102,6 +102,9 @@ function Sandbox(options) {
|
||||
sandboxPrototype: "prototype" in options ? options.prototype : {},
|
||||
invisibleToDebugger: "invisibleToDebugger" in options ?
|
||||
options.invisibleToDebugger : false,
|
||||
// For now create the sandbox in a new compartment. This is temporary until
|
||||
// bug 1515290 fixes some devtools tests to not rely on this.
|
||||
freshCompartment: true,
|
||||
};
|
||||
|
||||
const sandbox = Cu.Sandbox(systemPrincipal, options);
|
||||
|
Loading…
Reference in New Issue
Block a user