mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1084385 - Clone chrome arrays before passing them to emitSync. r=gabor
This commit is contained in:
parent
990b14ab4f
commit
32b97d422e
@ -83,7 +83,7 @@ const WorkerSandbox = EventEmitter.compose({
|
||||
*/
|
||||
emitSync: function emitSync() {
|
||||
let args = Array.slice(arguments);
|
||||
return this._emitToContent(args);
|
||||
return this._emitToContent(Cu.cloneInto(args, this._addonWorker._window));
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user