mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1253199 - MessagePort should handle the dispatching a message when the parent window is gone, r=smaug
This commit is contained in:
parent
a12df2bcd1
commit
1d9dbb9a39
@ -94,7 +94,6 @@ private:
|
||||
DispatchMessage() const
|
||||
{
|
||||
nsCOMPtr<nsIGlobalObject> globalObject = mPort->GetParentObject();
|
||||
MOZ_ASSERT(globalObject);
|
||||
|
||||
AutoJSAPI jsapi;
|
||||
if (!globalObject || !jsapi.Init(globalObject)) {
|
||||
|
Loading…
Reference in New Issue
Block a user