mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Merge m-c to inbound.
This commit is contained in:
commit
dc2b0fee93
@ -762,7 +762,16 @@ static bool ShouldReport()
|
||||
// this environment variable prevents us from launching
|
||||
// the crash reporter client
|
||||
const char *envvar = PR_GetEnv("MOZ_CRASHREPORTER_NO_REPORT");
|
||||
return !(envvar && *envvar);
|
||||
if (envvar && *envvar) {
|
||||
return false;
|
||||
}
|
||||
|
||||
envvar = PR_GetEnv("MOZ_CRASHREPORTER_FULLDUMP");
|
||||
if (envvar && *envvar) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
namespace {
|
||||
@ -932,6 +941,11 @@ nsresult SetExceptionHandler(nsIFile* aXREDirectory,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const char* e = PR_GetEnv("MOZ_CRASHREPORTER_FULLDUMP");
|
||||
if (e && *e) {
|
||||
minidump_type = MiniDumpWithFullMemory;
|
||||
}
|
||||
#endif // XP_WIN32
|
||||
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
|
Loading…
Reference in New Issue
Block a user