Bug 1299216 - Make use of MOZ_CRASHREPORTER_SHUTDOWN environment variable in Marionette. draft
authorHenrik Skupin <mail@hskupin.info>
Wed, 26 Oct 2016 12:43:42 +0200
changeset 435302 35934fe5e30763c08b0cad93c988f5f2be5401f0
parent 435301 15da6600d6e8f4201fa4540a243b689dffa5b61f
child 435303 090f868fde153f479cdbf11c703fe73d8cd4b083
push id34992
push userbmo:hskupin@gmail.com
push dateTue, 08 Nov 2016 11:06:47 +0000
bugs1299216
milestone52.0a1
Bug 1299216 - Make use of MOZ_CRASHREPORTER_SHUTDOWN environment variable in Marionette. MozReview-Commit-ID: 88NhfqMGPXF
testing/marionette/client/marionette_driver/geckoinstance.py
--- 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