devtools/qunit.py
changeset 10423 d9d5c70c45dc
parent 10422 2b54acb271cb
child 10424 5b0bacc7778c
equal deleted inserted replaced
10422:2b54acb271cb 10423:d9d5c70c45dc
   147 
   147 
   148         while not self.test_queue.empty():
   148         while not self.test_queue.empty():
   149             self.test_queue.get(False)
   149             self.test_queue.get(False)
   150 
   150 
   151         browser = FirefoxHelper()
   151         browser = FirefoxHelper()
   152         # start firefox once to let it init the profile (and run system-wide
       
   153         # add-ons post setup, blegh), and then kill it ...
       
   154         browser.start('about:blank')
       
   155         import time; time.sleep(5)
       
   156         browser.stop()
       
   157         # ... then actually run the test file
       
   158         browser.start(self.config['base-url'] + "?vid=qunit")
   152         browser.start(self.config['base-url'] + "?vid=qunit")
   159         test_count = 0
   153         test_count = 0
   160         error = False
   154         error = False
   161         def raise_exception(cls, *data):
   155         def raise_exception(cls, *data):
   162             raise cls(*data)
   156             raise cls(*data)