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

Unified Diff: third_party/WebKit/LayoutTests/media/media-controller-volume.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-volume.html
diff --git a/third_party/WebKit/LayoutTests/media/media-controller-volume.html b/third_party/WebKit/LayoutTests/media/media-controller-volume.html
deleted file mode 100644
index 774ff4c35732bee937d58a81577bbf3326bf4a09..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/media-controller-volume.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>MediaController - volume test</title>
- <script src=video-test.js></script>
- <script src=media-file.js></script>
- <script>
- function start()
- {
- findMediaElement();
- waitForEvent('canplay', canplay);
- video.src = findMediaFile("video", "content/test");
- };
-
- function canplay()
- {
- testExpected("video.controller.volume", 1.0);
- run("video.controller.volume = 0.5");
- testExpected("video.controller.volume", 0.5);
- run("video.controller.volume = Number.MIN_VALUE");
- testExpected("video.controller.volume", Number.MIN_VALUE);
- run("video.controller.volume = 0");
- testExpected("video.controller.volume", 0);
-
- testDOMException("video.controller.volume = 1.5", "DOMException.INDEX_SIZE_ERR");
- testDOMException("video.controller.volume = -0.5", "DOMException.INDEX_SIZE_ERR");
- testException("video.controller.volume = -Infinity", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The provided double value is non-finite."');
- testException("video.controller.volume = Infinity", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The provided double value is non-finite."');
- testException("video.controller.volume = NaN", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The provided double value is non-finite."');
-
- endTest();
- };
- </script>
-</head>
-<body>
- <body onload="start()">
- <video id="video" mediaGroup="group" controls autoplay></video>
- </body>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698