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