Backed out changeset ae859b463698 (bug 1517210) for causing devtools failures on multiple files. CLOSED TREE

--HG--
extra : rebase_source : 84795404ba2bf7600dcc8fb2384fa17f633ad354
This commit is contained in:
Cosmin Sabou 2019-01-31 21:21:45 +02:00
parent aed7c05c6c
commit 3147747b5c

View File

@ -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);