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

Unified Diff: third_party/WebKit/LayoutTests/animations/transitions-replay.html

Issue 2947103002: Expose getAnimations as function on Document (Closed)
Patch Set: Rebase Created 3 years, 6 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: third_party/WebKit/LayoutTests/animations/transitions-replay.html
diff --git a/third_party/WebKit/LayoutTests/animations/transitions-replay.html b/third_party/WebKit/LayoutTests/animations/transitions-replay.html
index 083b041a78358c49dfd8c775e6e6b565f00763e8..a6ddb6ddde9b2d28f01009904a46d27a7476cadd 100644
--- a/third_party/WebKit/LayoutTests/animations/transitions-replay.html
+++ b/third_party/WebKit/LayoutTests/animations/transitions-replay.html
@@ -16,8 +16,8 @@ t.step(function() {
element.style.background = "green";
element.offsetTop; // Force recalc
- assert_equals(document.timeline.getAnimations().length, 1);
- var animation = document.timeline.getAnimations()[0];
+ assert_equals(document.getAnimations().length, 1);
+ var animation = document.getAnimations()[0];
animation.onfinish = function() {
requestAnimationFrame(function() {
requestAnimationFrame(function() {

Powered by Google App Engine
This is Rietveld 408576698