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

Unified Diff: third_party/WebKit/LayoutTests/media/controls-timeline-with-controller.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/controls-timeline-with-controller.html
diff --git a/third_party/WebKit/LayoutTests/media/controls-timeline-with-controller.html b/third_party/WebKit/LayoutTests/media/controls-timeline-with-controller.html
deleted file mode 100644
index 8bc4eff094cf5e63d1a4a95f6347a2191434878d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/controls-timeline-with-controller.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>media controls timeline with MediaController</title>
- <script src="media-file.js"></script>
- <script src="media-controls.js"></script>
- <script src="video-test.js"></script>
- </head>
- <body>
- <video controls></video>
- <script>
- findMediaElement();
- video.controller = new MediaController();
- video.src = findMediaFile("video", "content/test");
- waitForEvent("loadedmetadata", function()
- {
- testExpected("video.controller.currentTime", 0);
- testExpected("video.currentTime", 0);
- // Wait for the seek initiated by the "bringing up to speed"
- // step to complete.
- waitForEventOnce('seeked', seeked);
- });
-
- var seeked = function() {
- testExpected("video.seeking", false);
-
- // click the middle of the timeline
- var coords = mediaControlsButtonCoordinates(video, "timeline");
- eventSender.mouseMoveTo(coords[0], coords[1]);
- eventSender.mouseDown();
- eventSender.mouseUp();
-
- testExpected("video.controller.currentTime / video.controller.duration", 0.4, '>');
- testExpected("video.controller.currentTime / video.controller.duration", 0.6, '<');
- testExpected("video.currentTime / video.duration", 0.4, '>');
- testExpected("video.currentTime / video.duration", 0.6, '<');
- testExpected("video.seeking", true);
-
- endTest();
- }
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698