[devtools] qunit: only start firefox once per test
authorRémi Cardona <remi.cardona@logilab.fr>
Wed, 13 May 2015 17:13:51 +0200
changeset 10423 d9d5c70c45dc
parent 10422 2b54acb271cb
child 10424 5b0bacc7778c
[devtools] qunit: only start firefox once per test The separate profile initialization step doesn't seem necessary anymore. This was due to the system-wide installation of the "Sage" Firefox extensions which breaks -url on a fresh profile. Removing this obnoxious extension allows us to launch Firefox in a standard way. Related to #5533333.
devtools/qunit.py
--- a/devtools/qunit.py	Wed May 13 17:13:00 2015 +0200
+++ b/devtools/qunit.py	Wed May 13 17:13:51 2015 +0200
@@ -149,12 +149,6 @@
             self.test_queue.get(False)
 
         browser = FirefoxHelper()
-        # start firefox once to let it init the profile (and run system-wide
-        # add-ons post setup, blegh), and then kill it ...
-        browser.start('about:blank')
-        import time; time.sleep(5)
-        browser.stop()
-        # ... then actually run the test file
         browser.start(self.config['base-url'] + "?vid=qunit")
         test_count = 0
         error = False