Fixed launching nightly given a URL.
authorMark Cote <mcote@mozilla.com>
Wed, 25 May 2011 16:26:19 -0400
changeset 48 160003a960139ce849a930308f399314cf341e0d
parent 47 c7521c1e6252edea6245712dfb2c2bf593fc1008
child 49 45f4b4b24c5865ebf1e3f8458438f09967767994
push id46
push usermcote@mozilla.com
push dateWed, 25 May 2011 20:26:23 +0000
Fixed launching nightly given a URL.
client/speedtests.py
--- a/client/speedtests.py
+++ b/client/speedtests.py
@@ -205,19 +205,19 @@ class LatestFxBrowserController(BrowserC
             user_profile = os.getenv('USERPROFILE')
             install_path = os.path.join(user_profile, LatestFxBrowserController.INSTALL_SUBDIR)
             shutil.rmtree(install_path, ignore_errors=True)
             fxins = fxinstall.FirefoxInstaller(install_path)
             print 'Getting firefox nightly...'
             if not fxins.get_install():
                 print 'Failed to get firefox nightly.'
         
-    def launch(self):
+    def launch(self, url=None):
         if self.os_name == 'windows':
-            super(LatestFxBrowserController, self).launch()
+            super(LatestFxBrowserController, self).launch(url)
         else:
             print 'Nightly not yet supported on OSs other than Windows.'
 
 
 class IEController(BrowserController):
 
     """ Specialization to deal with IE's registry settings. """