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

Unified Diff: LayoutTests/web-animations-api/transitions-replay.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/transitions-replay.html
diff --git a/LayoutTests/web-animations-api/transitions-replay.html b/LayoutTests/web-animations-api/transitions-replay.html
index 8849de939349cd48c976a9f57559feed7a2bc5ea..6d6f179b445ef9af2c58f0149ba09132f99721b5 100644
--- a/LayoutTests/web-animations-api/transitions-replay.html
+++ b/LayoutTests/web-animations-api/transitions-replay.html
@@ -16,8 +16,8 @@ t.step(function() {
element.style.background = "green";
element.offsetTop; // Force recalc
- assert_equals(document.timeline.getAnimationPlayers().length, 1);
- var player = document.timeline.getAnimationPlayers()[0];
+ assert_equals(document.timeline.getAnimations().length, 1);
+ var player = document.timeline.getAnimations()[0];
alancutter (OOO until 2018) 2015/05/05 01:04:51 s/player/animation/
dstockwell 2015/05/05 03:33:25 DONE!
player.onfinish = function() {
requestAnimationFrame(function() {
requestAnimationFrame(function() {

Powered by Google App Engine
This is Rietveld 408576698