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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/timeline-set-current-time-playback-rate.html

Issue 2145473002: Delete obsolete test for AnimationTimeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/web-animations-api/timeline-set-current-time-playback-rate.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/timeline-set-current-time-playback-rate.html b/third_party/WebKit/LayoutTests/web-animations-api/timeline-set-current-time-playback-rate.html
deleted file mode 100644
index 871ba036e00218359117216c09de38068e9b7750..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/timeline-set-current-time-playback-rate.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-
-<!-- This tests that animation timeline current time and playback rate works correctly. -->
-
-<script>
-test(function() {
- document.timeline.currentTime = 1000;
- assert_approx_equals(document.timeline.currentTime, 1000, 0.1);
- assert_equals(document.timeline.playbackRate, 1);
-
- document.timeline.playbackRate = 1;
- document.timeline.currentTime = 2000;
- assert_approx_equals(document.timeline.currentTime, 2000, 0.1);
- assert_equals(document.timeline.playbackRate, 1);
-
- document.timeline.playbackRate = 0.5;
- assert_approx_equals(document.timeline.currentTime, 2000, 0.1);
- document.timeline.currentTime = 3000;
- assert_approx_equals(document.timeline.currentTime, 3000, 0.1);
- assert_equals(document.timeline.playbackRate, 0.5);
-}, 'Current time is set correctly on the animation timeline.');
-
-</script>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698