Index: LayoutTests/web-animations-api/w3c/get-css-players.html |
diff --git a/LayoutTests/web-animations-api/w3c/get-css-players.html b/LayoutTests/web-animations-api/w3c/get-css-players.html |
index d4828bb99f89d97127b460dd35b6a89afadab7c5..9340fc5c3cae44d169c3f7301a0f9abddb6f27d2 100644 |
--- a/LayoutTests/web-animations-api/w3c/get-css-players.html |
+++ b/LayoutTests/web-animations-api/w3c/get-css-players.html |
@@ -15,25 +15,25 @@ |
<script> |
async_test(function(t) { |
- assert_equals(document.timeline.getAnimationPlayers().length, 0); |
- assert_equals(container.getAnimationPlayers().length, 0); |
- assert_equals(element.getAnimationPlayers().length, 0); |
+ assert_equals(document.timeline.getAnimations().length, 0); |
+ assert_equals(container.getAnimations().length, 0); |
+ assert_equals(element.getAnimations().length, 0); |
element.className = 'cssAnimation'; |
onload = function () { |
t.step(function() { |
- var players = document.timeline.getAnimationPlayers(); |
- assert_equals(players.length, 1); |
- assert_equals(container.getAnimationPlayers().length, 0); |
- assert_equals(element.getAnimationPlayers().length, 1); |
+ var animations = document.timeline.getAnimations(); |
+ assert_equals(animations.length, 1); |
+ assert_equals(container.getAnimations().length, 0); |
+ assert_equals(element.getAnimations().length, 1); |
- players[0].finish(); |
- assert_equals(document.timeline.getAnimationPlayers().length, 0); |
- assert_equals(container.getAnimationPlayers().length, 0); |
- assert_equals(element.getAnimationPlayers().length, 0); |
+ animations[0].finish(); |
+ assert_equals(document.timeline.getAnimations().length, 0); |
+ assert_equals(container.getAnimations().length, 0); |
+ assert_equals(element.getAnimations().length, 0); |
t.done(); |
}); |
} |
-}, 'getAnimationPlayers() with cssanimations'); |
+}, 'getAnimations() with cssanimations'); |
</script> |