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); |
}; |
""" |