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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/time-consistent-across-frames.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/time-consistent-across-frames.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/time-consistent-across-frames.html b/third_party/WebKit/LayoutTests/web-animations-api/time-consistent-across-frames.html
deleted file mode 100644
index 254097eb3506df370efabe3ab16beefcc575a4a0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/time-consistent-across-frames.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<meta charset=utf-8>
-<title>Model liveness: currentTime will not change in a task (frames)</title>
-<link rel="help" href="https://w3c.github.io/web-animations/#model-liveness">
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="../external/wpt/web-animations/testcommon.js"></script>
-
-<iframe id=frame></iframe>
-
-<script>
-var handle = async_test('Document timeline should tick consistently across frames');
-var baseTime = document.timeline.currentTime;
-var frameBaseTime = frame.contentDocument.timeline.currentTime;
-setTimeout(() => {
- // Ensure that time in this task has advanced sufficiently for implementations
- // that might bind the currentTime lazily.
- var start = performance.now();
- while (performance.now() - start < 30);
- var delta = document.timeline.currentTime - baseTime;
-
- // Advance time further before querying the frame's time.
- var start = performance.now();
- while (performance.now() - start < 30);
- var frameDelta = frame.contentDocument.timeline.currentTime - frameBaseTime;
-
- handle.step(() => assert_times_equal(delta, frameDelta));
- handle.done();
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698