Index: LayoutTests/animations/interpolation/resources/interpolation-test.js |
diff --git a/LayoutTests/animations/interpolation/resources/interpolation-test.js b/LayoutTests/animations/interpolation/resources/interpolation-test.js |
index b2bf6791dc11e37a15e9fa90cfc6b5c0ba61de55..c4b6f298640ddc7d6712cddcc9b9130ff583e693 100644 |
--- a/LayoutTests/animations/interpolation/resources/interpolation-test.js |
+++ b/LayoutTests/animations/interpolation/resources/interpolation-test.js |
@@ -103,6 +103,7 @@ |
var results = document.createElement('div'); |
results.style.whiteSpace = 'pre'; |
results.textContent = resultString; |
+ results.id = 'results'; |
document.body.appendChild(results); |
} |
} |
@@ -284,6 +285,9 @@ |
} |
if (window.testRunner) { |
if (!isRefTest) { |
+ var results = document.querySelector('#results'); |
+ document.documentElement.textContent = ''; |
+ document.documentElement.appendChild(results); |
testRunner.dumpAsText(); |
} |
testRunner.notifyDone(); |