Index: third_party/WebKit/LayoutTests/media/media-controller-play-then-pause.html |
diff --git a/third_party/WebKit/LayoutTests/media/media-controller-play-then-pause.html b/third_party/WebKit/LayoutTests/media/media-controller-play-then-pause.html |
deleted file mode 100644 |
index 3ed99d459a67d9eea820a98e416be1a84a6824f7..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/media/media-controller-play-then-pause.html |
+++ /dev/null |
@@ -1,60 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
- <head> |
- <script src=media-file.js></script> |
- <script src=video-test.js></script> |
- |
- <script> |
- var controller; |
- var video2; |
- |
- function start() |
- { |
- var videos = document.getElementsByTagName('video'); |
- video = videos[0]; |
- video2 = videos[1]; |
- run('controller = video.controller'); |
- controller.addEventListener('canplaythrough', canplaythrough, true); |
- var src = findMediaFile('video', 'content/test'); |
- video.src = src; |
- video2.src = src; |
- } |
- |
- function canplaythrough() |
- { |
- consoleWrite("EVENT(canplaythrough)"); |
- controller.removeEventListener('canplaythrough', canplaythrough, true); |
- controller.addEventListener('playing', playing, true); |
- run('controller.play()'); |
- } |
- |
- function playing() |
- { |
- consoleWrite("EVENT(playing)"); |
- controller.removeEventListener('playing', playing, true); |
- controller.addEventListener('pause', pause, true); |
- run('controller.pause()'); |
- } |
- |
- function pause() { |
- consoleWrite("EVENT(pause)"); |
- controller.removeEventListener('pause', pause, true); |
- controller.addEventListener('playing', playingAgain, true); |
- run('controller.play()'); |
- } |
- |
- function playingAgain() |
- { |
- consoleWrite("EVENT(playing)"); |
- testExpected('controller.playbackState', 'playing'); |
- controller.removeEventListener('playing', playingAgain, true); |
- endTest(); |
- } |
- |
- </script> |
- </head> |
- <body onload="start()"> |
- <video mediaGroup="group" controls></video> |
- <video mediaGroup="group" controls></video> |
- </body> |
-</html> |