Bug 1496828 - [mochitest] Fix mochitest selftest regression by always instantiating self.extraPrefs, r=jmaher
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Tue, 09 Oct 2018 14:24:37 +0000
changeset 495996 f81c0fafcb2fe5c1bce5e4736dda88a1aedde204
parent 495995 8e3812faf4bce0ae2974f34d6b8daf9fd976bcb9
child 495997 ca16b3674d8aef77d22800d2149dc047991df74d
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1496828
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1496828 - [mochitest] Fix mochitest selftest regression by always instantiating self.extraPrefs, r=jmaher Differential Revision: https://phabricator.services.mozilla.com/D8087
testing/mochitest/runtests.py
--- a/testing/mochitest/runtests.py
+++ b/testing/mochitest/runtests.py
@@ -868,16 +868,17 @@ class MochitestDesktop(object):
         self.currentTests = None
         self._locations = None
 
         self.marionette = None
         self.start_script = None
         self.mozLogs = None
         self.start_script_kwargs = {}
         self.urlOpts = []
+        self.extraPrefs = {}
 
         if logger_options.get('log'):
             self.log = logger_options['log']
         else:
             commandline.log_formatters["tbpl"] = (
                 MochitestFormatter,
                 "Mochitest specific tbpl formatter")
             self.log = commandline.setup_logging("mochitest", logger_options, {"tbpl": sys.stdout})