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

Unified Diff: LayoutTests/http/tests/resources/js-test-pre.js

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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
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;

Powered by Google App Engine
This is Rietveld 408576698