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 5eda6dc6d6
commit ae378dd073

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();