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

Unified Diff: third_party/WebKit/LayoutTests/transitions/interrupted-immediately.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/transitions/interrupted-immediately.html
diff --git a/third_party/WebKit/LayoutTests/transitions/interrupted-immediately.html b/third_party/WebKit/LayoutTests/transitions/interrupted-immediately.html
index 92b58e867a304d6226f3d2d696a6a5c4c8beefe9..08ee7a13764835c0c8e5685a4c0c4865a1f6ac2b 100644
--- a/third_party/WebKit/LayoutTests/transitions/interrupted-immediately.html
+++ b/third_party/WebKit/LayoutTests/transitions/interrupted-immediately.html
@@ -40,7 +40,7 @@
// Force at least one timing update and recalc after the interruption.
id = requestAnimationFrame(function() {
cancelAnimationFrame(id);
- var current = document.timeline.getAnimations().length;
+ var current = document.getAnimations().length;
document.getElementById('result').innerHTML = (current == 0) ? "PASS" : "FAIL";
if (window.testRunner)
testRunner.notifyDone();

Powered by Google App Engine
This is Rietveld 408576698