зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changesets 1613eb430cec and 8ecfe45191b6 (bug 1066812) for B2G mochitest crashes.
This commit is contained in:
Родитель
b04221aa65
Коммит
9c384c9583
|
@ -607,9 +607,6 @@ ContentChild::Init(MessageLoop* aIOLoop,
|
||||||
// Make sure there's an nsAutoScriptBlocker on the stack when dispatching
|
// Make sure there's an nsAutoScriptBlocker on the stack when dispatching
|
||||||
// urgent messages.
|
// urgent messages.
|
||||||
GetIPCChannel()->BlockScripts();
|
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
|
#ifdef MOZ_X11
|
||||||
// Send the parent our X socket to act as a proxy reference for our X
|
// Send the parent our X socket to act as a proxy reference for our X
|
||||||
|
|
|
@ -88,7 +88,7 @@ class MessageChannel : HasResultCodes
|
||||||
|
|
||||||
void SetAbortOnError(bool abort)
|
void SetAbortOnError(bool abort)
|
||||||
{
|
{
|
||||||
mAbortOnError = abort;
|
mAbortOnError = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Misc. behavioral traits consumers can request for this channel
|
// Misc. behavioral traits consumers can request for this channel
|
||||||
|
|
Загрузка…
Ссылка в новой задаче