mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
parent
b586913598
commit
2531de02eb
85 changed files with 68 additions and 1357 deletions
|
|
@ -1527,11 +1527,9 @@ nsresult SetExceptionHandler(nsIFile* aXREDirectory,
|
|||
if (gExceptionHandler)
|
||||
return NS_ERROR_ALREADY_INITIALIZED;
|
||||
|
||||
#if !defined(DEBUG) || defined(MOZ_WIDGET_GONK)
|
||||
#if !defined(DEBUG)
|
||||
// In non-debug builds, enable the crash reporter by default, and allow
|
||||
// disabling it with the MOZ_CRASHREPORTER_DISABLE environment variable.
|
||||
// Also enable it by default in debug gonk builds as it is difficult to
|
||||
// set environment on startup.
|
||||
const char *envvar = PR_GetEnv("MOZ_CRASHREPORTER_DISABLE");
|
||||
if (envvar && *envvar && !force)
|
||||
return NS_OK;
|
||||
|
|
@ -1543,10 +1541,7 @@ nsresult SetExceptionHandler(nsIFile* aXREDirectory,
|
|||
return NS_OK;
|
||||
#endif
|
||||
|
||||
#if defined(MOZ_WIDGET_GONK)
|
||||
doReport = false;
|
||||
headlessClient = true;
|
||||
#elif defined(XP_WIN)
|
||||
#if defined(XP_WIN)
|
||||
doReport = ShouldReport();
|
||||
#else
|
||||
// this environment variable prevents us from launching
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue