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

Unified Diff: third_party/WebKit/LayoutTests/media/media-controller-time-clamp.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-time-clamp.html
diff --git a/third_party/WebKit/LayoutTests/media/media-controller-time-clamp.html b/third_party/WebKit/LayoutTests/media/media-controller-time-clamp.html
deleted file mode 100644
index 330cd16c85c0b4111bc03fa75c1179760c5c0c5c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/media-controller-time-clamp.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <script src=media-file.js></script>
- <script src=video-test.js></script>
-
- <script>
- var controller;
- var video;
-
- function start() {
- video = document.getElementById('video');
- run('controller = video.controller');
- controller.addEventListener('canplaythrough', canplaythrough, true);
- var src = findMediaFile('video', 'content/test');
- video.src = src;
- }
-
- function canplaythrough() {
- consoleWrite("EVENT(canplaythrough)");
- controller.removeEventListener('canplaythrough', canplaythrough, true);
- controller.addEventListener('ended', ended, true);
- // 0.05 is greater than one frame of this 25fps video.
- run('controller.currentTime = controller.duration - 0.05');
- run('video.play()');
- run('controller.play()');
- }
-
- function ended() {
- consoleWrite("EVENT(ended)");
- testExpected("controller.currentTime <= controller.duration", true);
- endTest();
- }
- </script>
- </head>
- <body onload="start()">
- <video id="video" mediaGroup="group" controls></video>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698