Bug 1299216 - Make use of MOZ_CRASHREPORTER_SHUTDOWN environment variable in Marionette.
MozReview-Commit-ID: 88NhfqMGPXF
--- a/testing/marionette/client/marionette_driver/geckoinstance.py
+++ b/testing/marionette/client/marionette_driver/geckoinstance.py
@@ -148,17 +148,19 @@ class GeckoInstance(object):
else:
process_args['logfile'] = self.gecko_log
env = os.environ.copy()
# environment variables needed for crashreporting
# https://developer.mozilla.org/docs/Environment_variables_affecting_crash_reporting
env.update({'MOZ_CRASHREPORTER': '1',
- 'MOZ_CRASHREPORTER_NO_REPORT': '1'})
+ 'MOZ_CRASHREPORTER_NO_REPORT': '1',
+ 'MOZ_CRASHREPORTER_SHUTDOWN': '1',
+ })
return {
'binary': self.binary,
'profile': self.profile,
'cmdargs': ['-no-remote', '-marionette'] + self.app_args,
'env': env,
'symbols_path': self.symbols_path,
'process_args': process_args