Index: LayoutTests/http/tests/resources/js-test-pre.js |
diff --git a/LayoutTests/http/tests/resources/js-test-pre.js b/LayoutTests/http/tests/resources/js-test-pre.js |
index 319277ba0cc48130067ac638ce201477ec28d814..81e269eeda06059456ebf86c9fd53880e073c863 100644 |
--- a/LayoutTests/http/tests/resources/js-test-pre.js |
+++ b/LayoutTests/http/tests/resources/js-test-pre.js |
@@ -1,6 +1,10 @@ |
// svg/dynamic-updates tests set enablePixelTesting=true, as we want to dump text + pixel results |
-if (self.testRunner) |
- testRunner.dumpAsText(self.enablePixelTesting); |
+if (self.testRunner) { |
+ if (self.enablePixelTesting) |
+ testRunner.dumpAsTextWithPixelResults(); |
+ else |
+ testRunner.dumpAsText(); |
+} |
var description, debug, successfullyParsed, errorMessage; |