mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1491488 - Mimic the old behavior in marionette. r=whimboo
MozReview-Commit-ID: CFpCiamhMBL
This commit is contained in:
parent
eac505cdf4
commit
d8b5efe2e3
@ -453,7 +453,8 @@ sandbox.createMutable = function(window) {
|
||||
wantComponents: false,
|
||||
wantXrays: false,
|
||||
};
|
||||
return sandbox.create(window, null, opts);
|
||||
// Note: We waive Xrays here to match potentially-accidental old behavior.
|
||||
return Cu.waiveXrays(sandbox.create(window, null, opts));
|
||||
};
|
||||
|
||||
sandbox.createSystemPrincipal = function(window) {
|
||||
|
Loading…
Reference in New Issue
Block a user