Backed out changesets 1613eb430cec and 8ecfe45191b6 (bug 1066812) for B2G mochitest crashes.

This commit is contained in:
Ryan VanderMeulen 2015-02-09 15:49:55 -05:00
Родитель b04221aa65
Коммит 9c384c9583
2 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -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