Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander

This commit is contained in:
Aaron Klotz
2014-12-29 16:12:47 -07:00
parent 6f33132d43
commit 5eababe304
3 changed files with 67 additions and 3 deletions

View File

@@ -966,7 +966,7 @@ MessageChannel::WaitForInterruptNotify()
return WaitForSyncNotify();
}
if (!InterruptStackDepth()) {
if (!InterruptStackDepth() && !AwaitingIncomingMessage()) {
// There is currently no way to recover from this condition.
NS_RUNTIMEABORT("StackDepth() is 0 in call to MessageChannel::WaitForNotify!");
}