зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 3e9cc0ba5dfb (bug 1066812) for suspicion of causing B2G Nuwa mochitest crashes on a CLOSED TREE.
This commit is contained in:
Родитель
a83d879253
Коммит
2bb894faa2
|
@ -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();
|
||||
|
|
|
@ -88,7 +88,7 @@ class MessageChannel : HasResultCodes
|
|||
|
||||
void SetAbortOnError(bool abort)
|
||||
{
|
||||
mAbortOnError = abort;
|
||||
mAbortOnError = true;
|
||||
}
|
||||
|
||||
// Misc. behavioral traits consumers can request for this channel
|
||||
|
|
Загрузка…
Ссылка в новой задаче