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

Unified Diff: LayoutTests/transitions/resources/transition-test-helpers.js

Issue 14556022: Simplify animation testing API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 7 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/transitions/resources/transition-test-helpers.js
diff --git a/LayoutTests/transitions/resources/transition-test-helpers.js b/LayoutTests/transitions/resources/transition-test-helpers.js
index 793460e5894560e55090f4382cb335c31ff6f30c..6ad2f197cb403ec7b689a9b056bf39a5d2654462 100644
--- a/LayoutTests/transitions/resources/transition-test-helpers.js
+++ b/LayoutTests/transitions/resources/transition-test-helpers.js
@@ -236,8 +236,7 @@ function runTest(expected, usePauseAPI)
if (hasPauseTransitionAPI && usePauseAPI) {
if (tryToPauseTransition) {
var element = document.getElementById(elementId);
- if (!internals.pauseTransitionAtTimeOnElement(property, time, element))
- window.console.log("Failed to pause '" + property + "' transition on element '" + elementId + "'");
+ internals.pauseAnimations(time);
}
checkExpectedValue(expected, i);
} else {
« no previous file with comments | « LayoutTests/transitions/opacity-transition-zindex.html ('k') | LayoutTests/transitions/svg-transitions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698