Bug 940779 - MessageEventInit is a dictionary, r=bent

--HG--
extra : rebase_source : 37d006cf615cc6e7ed2a7141df54d9b948248946
This commit is contained in:
Steve Fink 2013-11-21 12:42:50 -08:00
parent 98cb213cf3
commit 9a66cefbf3

View File

@ -5260,7 +5260,7 @@ WorkerPrivate::ConnectMessagePort(JSContext* aCx, uint64_t aMessagePortSerial)
return false;
}
MessageEventInit init;
RootedDictionary<MessageEventInit> init(aCx);
init.mBubbles = false;
init.mCancelable = false;
init.mSource = &jsPort.toObject();