Backed out changeset 3e9cc0ba5dfb (bug 1066812) for suspicion of causing B2G Nuwa mochitest crashes on a CLOSED TREE.

This commit is contained in:
Ryan VanderMeulen 2015-03-02 11:58:12 -05:00
parent fefc1ff63b
commit 0b64c06add
2 changed files with 1 additions and 7 deletions

View File

@ -615,10 +615,6 @@ ContentChild::Init(MessageLoop* aIOLoop,
// urgent messages.
GetIPCChannel()->BlockScripts();
// If communications with the parent have broken down, take the process
// down so it's not hanging around.
GetIPCChannel()->SetAbortOnError(true);
#ifdef MOZ_X11
// Send the parent our X socket to act as a proxy reference for our X
// resources.
@ -2575,8 +2571,6 @@ ContentChild::RecvShutdown()
os->NotifyObservers(this, "content-child-shutdown", nullptr);
}
GetIPCChannel()->SetAbortOnError(false);
// Ignore errors here. If this fails, the parent will kill us after a
// timeout.
unused << SendFinishShutdown();

View File

@ -88,7 +88,7 @@ class MessageChannel : HasResultCodes
void SetAbortOnError(bool abort)
{
mAbortOnError = abort;
mAbortOnError = true;
}
// Misc. behavioral traits consumers can request for this channel