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

Unified Diff: third_party/WebKit/LayoutTests/media/media-controller-effective-playback-rate.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-effective-playback-rate.html
diff --git a/third_party/WebKit/LayoutTests/media/media-controller-effective-playback-rate.html b/third_party/WebKit/LayoutTests/media/media-controller-effective-playback-rate.html
deleted file mode 100644
index 8fe8ee7824c08099c19682494fc9902288128822..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/media-controller-effective-playback-rate.html
+++ /dev/null
@@ -1,56 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>Test effective playback rate with a MediaController.</title>
- <script src="media-file.js"></script>
- <script src="video-test.js"></script>
- <script>
- var start = function()
- {
- findMediaElement();
- video.src = findMediaFile("video", "content/test");
-
- // Set the rate on the media element so playback won't move forward.
- video.playbackRate = 0;
-
- waitForEventOnce("canplay",canplay);
- };
-
- var canplay = function()
- {
- video.controller = new MediaController();
-
- // Verify the controller playback rate is 1. This
- // means the "effective playback rate" is 1 even though
- // the HTMLMediaElement's playbackRate attribute is 0.
- testExpected("video.controller.playbackRate", 1);
- testExpected("video.playbackRate", 0);
-
- // Wait for the seek initiated by the "bringing up to speed"
- // step to complete.
- waitForEventOnce('seeked', seeked);
- };
-
- var seeked = function()
- {
- // Initiate playback and verify that time moves forward.
- run("video.play()");
- waitForEventOnce("playing", playing);
- };
-
- var playing = function()
- {
- waitForEventOnce("timeupdate", timeupdate);
- };
-
- var timeupdate = function()
- {
- testExpected("video.currentTime", 0, "!=");
- endTest();
- };
- </script>
- </head>
- <body onload="start()">
- <video></video>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698