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

Unified Diff: LayoutTests/media/audio-mpeg4-supported.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/audio-mpeg4-supported.html
diff --git a/LayoutTests/media/audio-mpeg4-supported.html b/LayoutTests/media/audio-mpeg4-supported.html
deleted file mode 100644
index bab7f654e82ca766956ada1ee8f3f3fc64de9e93..0000000000000000000000000000000000000000
--- a/LayoutTests/media/audio-mpeg4-supported.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<html>
- <body>
-
- <p>Test that the audio element supports M4A files.</p>
-
- <audio controls></audio>
-
- <script src=video-test.js></script>
- <script>
- var timeupdateEventCount = 0;
- mediaElement = document.getElementsByTagName('audio')[0];
-
- mediaElement.addEventListener('error', function() {
- consoleWrite("<span style='color:red'>FAIL</span> : caught 'error' event, audio.error = " + mediaElement.error.code);
- endTest();
- });
-
- mediaElement.addEventListener('canplaythrough', function() {
- consoleWrite("EVENT(canplaythrough)");
- testExpected("mediaElement.currentTime", 0);
- mediaElement.play();
- });
-
- function timeupdate()
- {
- ++timeupdateEventCount;
-
- // wait 2 timeupdate events so we are sure the media engine is
- // playing the media.
- if (timeupdateEventCount == 2) {
- // make sure time is advancing
- testExpected("mediaElement.currentTime", 0, '>');
- // reset the counter to prevent infinite loop if the
- // test is re-executed manually.
- timeupdateEventCount = 0;
- endTest();
- }
- }
-
- mediaElement.addEventListener("timeupdate", timeupdate);
- waitForEvent('play');
-
- mediaElement.src = "content/silence.m4a";
- </script>
-
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698