Bug 1195440: Disable health reporting when marionette tests are running; r=jgriffin
authorDavid Burns <dburns@mozilla.com>
Mon, 17 Aug 2015 21:36:57 +0100
changeset 258058 03753a3e80b83118062560a2126368a28be8281d
parent 258057 72db22eb14fe7be36c4e2e26c6ff70fc61991d66
child 258080 6ae3e9ff53b2bae8d95a90c9f25368fd81fa357e
child 258099 3764bcb8edd194188afba2830f4a93ba209599f6
push idunknown
push userunknown
push dateunknown
reviewersjgriffin
bugs1195440
milestone43.0a1
Bug 1195440: Disable health reporting when marionette tests are running; r=jgriffin
testing/marionette/driver/marionette_driver/geckoinstance.py
--- a/testing/marionette/driver/marionette_driver/geckoinstance.py
+++ b/testing/marionette/driver/marionette_driver/geckoinstance.py
@@ -25,16 +25,22 @@ class GeckoInstance(object):
                       "browser.sessionstore.resume_from_crash": False,
                       "browser.shell.checkDefaultBrowser": False,
                       "browser.startup.page": 0,
                       "browser.tabs.remote.autostart.1": False,
                       "browser.tabs.remote.autostart.2": False,
                       "browser.urlbar.userMadeSearchSuggestionsChoice": True,
                       "browser.warnOnQuit": False,
                       "dom.ipc.reportProcessHangs": False,
+                      "datareporting.healthreport.service.enabled": False,
+                      "datareporting.healthreport.uploadEnabled": False,
+                      "datareporting.healthreport.service.firstRun": False,
+                      "datareporting.healthreport.logging.consoleEnabled": False,
+                      "datareporting.policy.dataSubmissionEnabled": False,
+                      "datareporting.policy.dataSubmissionPolicyAccepted": False,
                       "focusmanager.testmode": True,
                       "startup.homepage_welcome_url": "about:blank"}
 
     def __init__(self, host, port, bin, profile=None, addons=None,
                  app_args=None, symbols_path=None, gecko_log=None, prefs=None):
         self.marionette_host = host
         self.marionette_port = port
         self.bin = bin