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

Unified Diff: third_party/WebKit/LayoutTests/media/media-controller-unpause.html

Issue 1373423003: Remove MediaController (already diabled by REF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update web-platform-tests expectations Created 5 years, 2 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/media/media-controller-unpause.html
diff --git a/third_party/WebKit/LayoutTests/media/media-controller-unpause.html b/third_party/WebKit/LayoutTests/media/media-controller-unpause.html
deleted file mode 100644
index b19d25ee6e178a344b1e02bfbefbaef228306e1f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/media-controller-unpause.html
+++ /dev/null
@@ -1,59 +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('pause', pause, true);
- run('controller.pause()');
- }
-
- function pause() {
- consoleWrite("EVENT(pause)");
- controller.removeEventListener('pause', pause, true);
- controller.addEventListener('play', play, true);
- run('controller.unpause()');
- }
-
- function play()
- {
- consoleWrite('EVENT(play)');
- controller.removeEventListener('play', play, true);
- testExpected('controller.playbackState', 'waiting');
- controller.addEventListener('playing', playing, true);
- run('controller.play()');
- }
-
- function playing()
- {
- consoleWrite("EVENT(playing)");
- controller.removeEventListener('playing', playing, true);
- endTest();
- }
- </script>
- </head>
- <body onload="start()">
- <video mediaGroup="group" controls></video>
- <video mediaGroup="group" controls></video>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698