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

Unified Diff: LayoutTests/animations/resources/animation-test-helpers.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/animations/resources/animation-test-helpers.js
diff --git a/LayoutTests/animations/resources/animation-test-helpers.js b/LayoutTests/animations/resources/animation-test-helpers.js
index 7cf8465427727af8670acd917d4d842731e3bfc7..da4f9b03209b7bacbc3814846619261d16b4d7c0 100644
--- a/LayoutTests/animations/resources/animation-test-helpers.js
+++ b/LayoutTests/animations/resources/animation-test-helpers.js
@@ -656,7 +656,11 @@ function runAnimationTest(expected, callbacks, trigger, disablePauseAnimationAPI
useResultElement = doPixelTest;
if (window.testRunner) {
- testRunner.dumpAsText(doPixelTest);
+ if (doPixelTest) {
+ testRunner.dumpAsTextWithPixelResults();
+ } else {
+ testRunner.dumpAsText();
+ }
testRunner.waitUntilDone();
}
« no previous file with comments | « LayoutTests/animations/animation-offscreen-to-onscreen.html ('k') | LayoutTests/compositing/3d-corners.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698