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

Unified Diff: third_party/WebKit/LayoutTests/animations/get-css-players.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/lazy-detached-animation-stop.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/get-css-players.html
diff --git a/third_party/WebKit/LayoutTests/animations/get-css-players.html b/third_party/WebKit/LayoutTests/animations/get-css-players.html
index 9127df5c014d53c841ed0e0a472c73938806ebe5..94521a9e3c380e1743604bf398a649df28b910c1 100644
--- a/third_party/WebKit/LayoutTests/animations/get-css-players.html
+++ b/third_party/WebKit/LayoutTests/animations/get-css-players.html
@@ -15,20 +15,20 @@
<script>
async_test(function(t) {
- assert_equals(document.timeline.getAnimations().length, 0);
+ assert_equals(document.getAnimations().length, 0);
assert_equals(container.getAnimations().length, 0);
assert_equals(element.getAnimations().length, 0);
element.className = 'cssAnimation';
onload = function () {
t.step(function() {
- var animations = document.timeline.getAnimations();
+ var animations = document.getAnimations();
assert_equals(animations.length, 1);
assert_equals(container.getAnimations().length, 0);
assert_equals(element.getAnimations().length, 1);
animations[0].finish();
- assert_equals(document.timeline.getAnimations().length, 0);
+ assert_equals(document.getAnimations().length, 0);
assert_equals(container.getAnimations().length, 0);
assert_equals(element.getAnimations().length, 0);
t.done();
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/lazy-detached-animation-stop.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698