diff --git a/addon-sdk/source/lib/sdk/deprecated/traits-worker.js b/addon-sdk/source/lib/sdk/deprecated/traits-worker.js index f1621249bb35..0c16f28d4c20 100644 --- a/addon-sdk/source/lib/sdk/deprecated/traits-worker.js +++ b/addon-sdk/source/lib/sdk/deprecated/traits-worker.js @@ -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)); }, /**