mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 19:38:13 +00:00
Bug 940779 - MessageEventInit is a dictionary, r=bent
--HG-- extra : rebase_source : 37d006cf615cc6e7ed2a7141df54d9b948248946
This commit is contained in:
parent
98cb213cf3
commit
9a66cefbf3
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user