# HG changeset patch # User Aurelien Campeas # Date 1276865062 -7200 # Node ID 26680cbc507bc3d72afc3185d620fce3bb1eaa1e # Parent e182da70d620582ef1b9a73685c1536c120801bf [devtools/qunit] in safe mode, ffox launches a stupid popup diff -r e182da70d620 -r 26680cbc507b devtools/qunit.py --- a/devtools/qunit.py Fri Jun 18 11:40:37 2010 +0200 +++ b/devtools/qunit.py Fri Jun 18 14:44:22 2010 +0200 @@ -53,7 +53,7 @@ stdout = TemporaryFile() stderr = TemporaryFile() try: - check_call(['firefox', '-safe-mode', '-no-remote', '-CreateProfile', + check_call(['firefox', '-no-remote', '-CreateProfile', '%s %s' % (self._profile_name, self._tmp_dir)], stdout=stdout, stderr=stderr) except CalledProcessError, cpe: @@ -65,7 +65,7 @@ def start(self, url): self.stop() fnull = open(os.devnull, 'w') - self._process = Popen(['firefox', '-safe-mode', '-no-remote', '-P', self._profile_name, url], + self._process = Popen(['firefox', '-no-remote', '-P', self._profile_name, url], stdout=fnull, stderr=fnull) def stop(self):