Bug 1091766 - Don't exit(0) when a message is dropped in the child process. r=bent
authorAndrew McCreight <continuation@gmail.com>
Tue, 13 Jan 2015 12:32:34 -0800
changeset 236756 e097e82fa29bd082cb9920844f615e34cb8eb89a
parent 236755 03d2076110a33af178390acf78aee7dc865b7737
child 236757 b8ead5a0b265e1fc15c7d664c4d82dca0be3e6b3
push id411
push usermartin.thomson@gmail.com
push dateWed, 14 Jan 2015 00:17:02 +0000
reviewersbent
bugs1091766
milestone38.0a1
Bug 1091766 - Don't exit(0) when a message is dropped in the child process. r=bent
dom/ipc/ContentChild.cpp
--- a/dom/ipc/ContentChild.cpp
+++ b/dom/ipc/ContentChild.cpp
@@ -1797,18 +1797,18 @@ ContentChild::ActorDestroy(ActorDestroyR
     XRE_ShutdownChildProcess();
 }
 
 void
 ContentChild::ProcessingError(Result what)
 {
     switch (what) {
     case MsgDropped:
-        QuickExit();
-
+        NS_WARNING("MsgDropped in ContentChild");
+        return;
     case MsgNotKnown:
         NS_RUNTIMEABORT("aborting because of MsgNotKnown");
     case MsgNotAllowed:
         NS_RUNTIMEABORT("aborting because of MsgNotAllowed");
     case MsgPayloadError:
         NS_RUNTIMEABORT("aborting because of MsgPayloadError");
     case MsgProcessingError:
         NS_RUNTIMEABORT("aborting because of MsgProcessingError");