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..5c40c73b0b648f894ce112a7c3f5509d7e185605 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(); |
+ var players = document.timeline.getAnimations(); |
alancutter (OOO until 2018)
2015/05/05 01:04:51
s/players/animations/g
dstockwell
2015/05/05 03:33:25
YAAAY done.
|
assert_equals(players.length, 1); |
- assert_equals(container.getAnimationPlayers().length, 0); |
- assert_equals(element.getAnimationPlayers().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); |
+ 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> |