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

Unified Diff: LayoutTests/animations/resources/animation-test-helpers.js

Issue 1113173003: Web Animations: Update naming to reflect spec changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: No, really. Created 5 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
« no previous file with comments | « no previous file | LayoutTests/transitions/interrupted-immediately.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 823d4456d644bbf86ee61b959a3db766510fe23a..ba84169c4eae95395dd90ed2a99e8b732eeadf26 100644
--- a/LayoutTests/animations/resources/animation-test-helpers.js
+++ b/LayoutTests/animations/resources/animation-test-helpers.js
@@ -205,7 +205,7 @@ function runChecksWithRAF(checks)
function runChecksWithPauseAPI(checks) {
for (var k in checks) {
var timeMs = Number(k);
- log('Pausing at time: ' + timeMs + ', current players: ' + document.timeline.getAnimationPlayers().length);
+ log('Pausing at time: ' + timeMs + ', current animations: ' + document.timeline.getAnimations().length);
internals.pauseAnimations(timeMs / 1000);
checks[k].forEach(function(check) { check(); });
}
@@ -236,7 +236,7 @@ function log(message)
function waitForAnimationsToStart(callback)
{
- if (document.timeline.getAnimationPlayers().length > 0) {
+ if (document.timeline.getAnimations().length > 0) {
callback();
} else {
setTimeout(waitForAnimationsToStart.bind(this, callback), 0);
« no previous file with comments | « no previous file | LayoutTests/transitions/interrupted-immediately.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698