mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Remove MOZ_CRASHREPORTER_NO_REPORT except in /testing
This commit is contained in:
parent
434f3590e3
commit
013cb18fed
11 changed files with 2 additions and 51 deletions
|
|
@ -228,10 +228,7 @@ class Automation(object):
|
|||
if dmdPath and dmdLibrary and preloadEnvVar:
|
||||
env[preloadEnvVar] = os.path.join(dmdPath, dmdLibrary)
|
||||
|
||||
if crashreporter and not debugger:
|
||||
env['MOZ_CRASHREPORTER_NO_REPORT'] = '1'
|
||||
else:
|
||||
env['MOZ_CRASHREPORTER_DISABLE'] = '1'
|
||||
env['MOZ_CRASHREPORTER_DISABLE'] = '1'
|
||||
|
||||
# Crash on non-local network connections by default.
|
||||
# MOZ_DISABLE_NONLOCAL_CONNECTIONS can be set to "0" to temporarily
|
||||
|
|
|
|||
|
|
@ -156,9 +156,6 @@ class B2GRemoteAutomation(Automation):
|
|||
if env is None:
|
||||
env = {}
|
||||
|
||||
if crashreporter:
|
||||
env['MOZ_CRASHREPORTER_NO_REPORT'] = '1'
|
||||
|
||||
# We always hide the results table in B2G; it's much slower if we don't.
|
||||
env['MOZ_HIDE_RESULTS_TABLE'] = '1'
|
||||
return env
|
||||
|
|
|
|||
|
|
@ -74,10 +74,7 @@ class RemoteAutomation(Automation):
|
|||
if 'MOZ_HIDE_RESULTS_TABLE' in os.environ:
|
||||
env['MOZ_HIDE_RESULTS_TABLE'] = os.environ['MOZ_HIDE_RESULTS_TABLE']
|
||||
|
||||
if crashreporter and not debugger:
|
||||
env['MOZ_CRASHREPORTER_NO_REPORT'] = '1'
|
||||
else:
|
||||
env['MOZ_CRASHREPORTER_DISABLE'] = '1'
|
||||
env['MOZ_CRASHREPORTER_DISABLE'] = '1'
|
||||
|
||||
# Crash on non-local network connections by default.
|
||||
# MOZ_DISABLE_NONLOCAL_CONNECTIONS can be set to "0" to temporarily
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ if __name__ == '__main__':
|
|||
locations=locations)
|
||||
|
||||
env = os.environ.copy()
|
||||
env["MOZ_CRASHREPORTER_NO_REPORT"] = "1"
|
||||
env["XPCOM_DEBUG_BREAK"] = "warn"
|
||||
|
||||
# For VC12+, make sure we can find the right bitness of pgort1x0.dll
|
||||
|
|
|
|||
|
|
@ -90,7 +90,6 @@ class MachCommands(MachCommandBase):
|
|||
env = os.environ.copy()
|
||||
env['G_SLICE'] = 'always-malloc'
|
||||
env['MOZ_CC_RUN_DURING_SHUTDOWN'] = '1'
|
||||
env['MOZ_CRASHREPORTER_NO_REPORT'] = '1'
|
||||
env['XPCOM_DEBUG_BREAK'] = 'warn'
|
||||
|
||||
env.update(self.extra_environment_variables)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue