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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/animation-set-timeline.html

Issue 2910883002: Clean up duplicate tests in web-animations-api (Closed)
Patch Set: Rebase and remove one more reference to deleted test 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/web-animations-api/animation-set-timeline.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/animation-set-timeline.html b/third_party/WebKit/LayoutTests/web-animations-api/animation-set-timeline.html
deleted file mode 100644
index 091e3bfe6e013df17b03bfe3c89ba8fc51d99896..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/animation-set-timeline.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<meta charset=utf-8>
-<title>Animations are retriggered if timeline time changes</title>
-<link rel="help" href="http://w3c.github.io/web-animations/#set-the-timeline-of-an-animation">
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="../external/wpt/web-animations/testcommon.js"></script>
-
-<div id="div"></div>
-
-<script>
-
-promise_test(function(t) {
- var animation = div.animate([], 10);
-
- return animation.ready.then(function() {
- animation.timeline = new DocumentTimeline(-5);
- animation.startTime = document.timeline.currentTime;
- assert_times_equal(animation.currentTime, 5);
- assert_equals(animation.playState, "running");
-
- animation.timeline = new DocumentTimeline(-15);
- animation.startTime = document.timeline.currentTime;
- assert_times_equal(animation.currentTime, 10);
- assert_equals(animation.playState, "finished");
-
- animation.timeline = new DocumentTimeline(0);
- animation.startTime = document.timeline.currentTime;
- assert_times_equal(animation.currentTime, 0);
- assert_equals(animation.playState, "running");
-
- animation.timeline = new DocumentTimeline(-5);
- animation.startTime = document.timeline.currentTime;
- assert_times_equal(animation.currentTime, 5);
- assert_equals(animation.playState, "running");
- });
-}, 'Animations are retriggered if timeline time changes');
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698