Index: content/test/data/media/media_source_player.html |
diff --git a/content/test/data/media/media_source_player.html b/content/test/data/media/media_source_player.html |
deleted file mode 100644 |
index 97f3b64dee183683df2c51c920ff5f687d37ec4b..0000000000000000000000000000000000000000 |
--- a/content/test/data/media/media_source_player.html |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
- <head> |
- <title>Media Source Player</title> |
- </head> |
- <body onload="runTest();"> |
- <video controls></video> |
- <script src="media_utils.js" type="text/javascript"></script> |
- <script src="media_source_utils.js" type="text/javascript"></script> |
- <script type="text/javascript"> |
- var video = document.querySelector('video'); |
- |
- function onTimeUpdate() { |
- video.removeEventListener('timeupdate', onTimeUpdate); |
- video.currentTime = 0.9 * video.duration; |
- } |
- |
- function onSeeked() { |
- video.removeEventListener('ended', failTest); |
- installTitleEventHandler(video, 'ended'); |
- } |
- |
- // The test completes after media starts playing, seeks to 0.9 of |
- // duration and fires the ended event. |
- // The test stops when an error or ended event fire unexpectedly. |
- function runTest() { |
- loadMediaFromURL(video); |
- video.addEventListener('ended', failTest); |
- video.addEventListener('seeked', onSeeked); |
- video.addEventListener('timeupdate', onTimeUpdate); |
- video.play(); |
- } |
- </script> |
- </body> |
-</html> |