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

Unified Diff: LayoutTests/web-animations-api/w3c/get-css-players.html

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
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>

Powered by Google App Engine
This is Rietveld 408576698