Bug 1034262 - Don't use wantXrays for requiresAddonGlobal sandboxes. r=gabor
This commit is contained in:
@@ -136,7 +136,7 @@ const WorkerSandbox = Class({
|
||||
// have access to all standard globals (window, document, ...)
|
||||
let content = sandbox(principals, {
|
||||
sandboxPrototype: proto,
|
||||
wantXrays: true,
|
||||
wantXrays: !requiresAddonGlobal(worker),
|
||||
wantGlobalProperties: wantGlobalProperties,
|
||||
wantExportHelpers: true,
|
||||
sameZoneAs: window,
|
||||
|
||||
Reference in New Issue
Block a user