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

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: Use new API in layout tests Created 5 years, 8 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..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>

Powered by Google App Engine
This is Rietveld 408576698