зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1263857 - (followup) Disable windows crash reporter on automated tests. r=sfink
This commit is contained in:
Родитель
99d9be7b2c
Коммит
cee2cf665f
|
@ -7133,7 +7133,7 @@ PreInit()
|
|||
{
|
||||
#ifdef XP_WIN
|
||||
const char* crash_option = getenv("XRE_NO_WINDOWS_CRASH_DIALOG");
|
||||
if (crash_option && strncmp(crash_option, "1", 1)) {
|
||||
if (crash_option && crash_option[0] == '1') {
|
||||
// Disable the segfault dialog. We want to fail the tests immediately
|
||||
// instead of hanging automation.
|
||||
UINT newMode = SEM_NOGPFAULTERRORBOX | SEM_NOOPENFILEERRORBOX;
|
||||
|
|
Загрузка…
Ссылка в новой задаче