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

Unified Diff: LayoutTests/media/video-does-not-loop.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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: LayoutTests/media/video-does-not-loop.html
diff --git a/LayoutTests/media/video-does-not-loop.html b/LayoutTests/media/video-does-not-loop.html
deleted file mode 100644
index 3a30d74f4e3568e9eaa3b00c68ff68220fea97cb..0000000000000000000000000000000000000000
--- a/LayoutTests/media/video-does-not-loop.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <style> video { height: 25px; width: 300px; } </style>
- <script src=video-test.js></script>
-
- <script>
- var seekCount = 0;
-
- function loadedmetadata()
- {
- consoleWrite("<br><em>++ seek to near the end to reduce test time.</em>");
- run("video.currentTime = video.duration - 0.4");
- }
-
- function seeked()
- {
- if (++seekCount == 1)
- {
- consoleWrite("<br><em>++ seek completed, beginning playback.</em>");
- testExpected("video.paused", true);
- testExpected("video.ended", false);
- run("video.play()");
- consoleWrite("");
- }
- }
-
- function ended()
- {
- consoleWrite("<br><em>++ played to end and stopped.</em>");
- testExpected("video.ended", true);
-
- // don't use "testExpected()" so we won't log the actual duration as the floating point result may differ with different engines
- reportExpected(mediaElement.currentTime == mediaElement.duration, "mediaElement.currentTime", "==", "mediaElement.duration", mediaElement.currentTime);
-
- consoleWrite("");
- endTest();
- }
-
- function start()
- {
- findMediaElement();
-
- consoleWrite("<em>++ Test initial state.</em>");
- testExpected("video.loop", false);
-
- waitForEvent('pause');
- waitForEvent("ended", ended);
- waitForEvent("seeked", seeked);
- waitForEvent("loadedmetadata", loadedmetadata);
-
- video.src = "content/silence-loop.mov";
- }
- </script>
-
- </head>
- <body>
- <video controls ></video>
- <p>Test to make sure QuickTime movie saved with 'loop' user data does not loop automatically.</p>
- <script>start()</script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698