mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1084385 - Clone chrome arrays before passing them to emitSync. r=gabor
This commit is contained in:
parent
6e028cdcea
commit
2ffb10c766
@ -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