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

Unified Diff: content/test/gpu/gpu_tests/webgl_conformance.py

Issue 515513003: Changed how we log uncaught exceptions by the WebGL tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed resart browser after each page Created 6 years, 4 months 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: content/test/gpu/gpu_tests/webgl_conformance.py
diff --git a/content/test/gpu/gpu_tests/webgl_conformance.py b/content/test/gpu/gpu_tests/webgl_conformance.py
index df297ee87797718e184e831ce736320994f0cecd..dca3cce3e8c2c0038d9fbb6eb536896783b03cb6 100644
--- a/content/test/gpu/gpu_tests/webgl_conformance.py
+++ b/content/test/gpu/gpu_tests/webgl_conformance.py
@@ -53,10 +53,7 @@ conformance_harness_script = r"""
window.parent.webglTestHarness = testHarness;
window.console.log = testHarness.log;
window.onerror = function(message, url, line) {
- testHarness._failures++;
- if (message) {
- testHarness.log(message);
- }
+ testHarness.reportResults(null, false, message);
Ken Russell (switch to Gerrit) 2014/08/27 21:57:23 Should this pass the URL to reportResults instead
testHarness.notifyFinished(null);
};
"""
« 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