Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2118)

Unified Diff: dart/tools/testing/run_selenium.py

Issue 11362036: Disable Firefox console logging as it appears to hang the browser. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/testing/run_selenium.py
diff --git a/dart/tools/testing/run_selenium.py b/dart/tools/testing/run_selenium.py
index e9e11193ddfd647580df49bde8a2cbbd122a059d..322f560617d00a66b8a171881c08e2ed8acb32ba 100755
--- a/dart/tools/testing/run_selenium.py
+++ b/dart/tools/testing/run_selenium.py
@@ -170,10 +170,8 @@ def start_browser(browser, executable_path, html_out):
profile.set_preference('dom.max_chrome_script_run_time', 0)
profile.set_preference('app.update.auto', True)
profile.set_preference('app.update.enabled', True)
- xpi = os.path.join(script_dir, 'extensions', 'firefox', 'ConsoleCollector.xpi')
- profile.add_extension(xpi);
return selenium.webdriver.Firefox(firefox_profile=profile)
- elif ((browser == 'ie9' or browser == 'ie10') and
+ elif ((browser == 'ie9' or browser == 'ie10') and
platform.system() == 'Windows'):
return selenium.webdriver.Ie()
elif browser == 'safari' and platform.system() == 'Darwin':
@@ -245,12 +243,6 @@ def report_results(mode, source, browser):
index += len('<body>')
end_index = source.find('</body')
print unicode(source[index : end_index]).encode("utf-8")
- if type(browser) is selenium.webdriver.firefox.webdriver.WebDriver:
- logs = browser.execute_script("return window.ConsoleCollector.read()");
- for msg in logs:
- print('%s:%s:%s:%s %s' %(
- msg['source'], msg['line'], msg['column'],
- msg['category'], msg['message']))
return 1
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698