Backed out changeset 091c5613b5cf (bug 1370644) for failing GTest XPCOMDeadlockDetectorTest.XPCOMSanity3DeathTest | Death test: Sanity3_Child(). r=backout

This commit is contained in:
Sebastian Hengst 2017-06-10 10:34:03 +02:00
Родитель 5aee2b122b
Коммит 943953276a
1 изменённых файлов: 5 добавлений и 6 удалений

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

@ -301,12 +301,11 @@ BlockingResourceBase::CheckAcquire()
out.AppendLiteral("\nDeadlock may happen for some other execution\n\n");
}
// Only error out if we think a deadlock is imminent.
if (maybeImminent) {
NS_ERROR(out.get());
} else {
NS_WARNING(out.get());
}
// XXX can customize behavior on whether we /think/ deadlock is
// XXX about to happen. for example:
// XXX if (maybeImminent)
// NS_RUNTIMEABORT(out.get());
NS_ERROR(out.get());
}