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

Unified Diff: LayoutTests/fast/js/mozilla/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/fast/js/mozilla/resources/js-test-pre.js
diff --git a/LayoutTests/fast/js/mozilla/resources/js-test-pre.js b/LayoutTests/fast/js/mozilla/resources/js-test-pre.js
index c3d6bfc5fd58d12e62079f7450a042afa2cf16c4..2a5c857555fe021c056be534732bb360b9d52eee 100644
--- a/LayoutTests/fast/js/mozilla/resources/js-test-pre.js
+++ b/LayoutTests/fast/js/mozilla/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 (window.testRunner)
- testRunner.dumpAsText(window.enablePixelTesting);
+if (window.testRunner) {
+ if (window.enablePixelTesting)
+ testRunner.dumpAsTextWithPixelResults();
+ else
+ testRunner.dumpAsText();
+}
function description(msg)
{
« no previous file with comments | « LayoutTests/fast/images/ycbcr-with-cmyk-color-profile.html ('k') | LayoutTests/fast/js/resources/js-test-pre.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698