[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.
--- 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