mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1154761 - Disable crash dialogs that interfere with debugging in mozrunner, r=ted
This commit is contained in:
parent
323b2b17ba
commit
b79cd2e20b
@ -27,6 +27,10 @@ class GeckoRuntimeRunner(BaseRunner):
|
||||
# keeps Firefox attached to the terminal window after it starts
|
||||
self.env['NO_EM_RESTART'] = '1'
|
||||
|
||||
# Disable crash reporting dialogs that interfere with debugging
|
||||
self.env['GNOME_DISABLE_CRASH_DIALOG'] = '1'
|
||||
self.env['XRE_NO_WINDOWS_CRASH_DIALOG'] = '1'
|
||||
|
||||
# set the library path if needed on linux
|
||||
if sys.platform == 'linux2' and self.binary.endswith('-bin'):
|
||||
dirname = os.path.dirname(self.binary)
|
||||
@ -71,5 +75,4 @@ class GeckoRuntimeRunner(BaseRunner):
|
||||
self.env["MOZ_CRASHREPORTER_NO_REPORT"] = "1"
|
||||
self.env["MOZ_CRASHREPORTER"] = "1"
|
||||
|
||||
|
||||
BaseRunner.start(self, *args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user