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

Unified Diff: LayoutTests/media/video-currentTime-set-with-controller.html

Issue 197213012: Improve media-related exception messages (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove redundant TimeRanges test Created 6 years, 9 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: LayoutTests/media/video-currentTime-set-with-controller.html
diff --git a/LayoutTests/media/video-currentTime-set-with-controller.html b/LayoutTests/media/video-currentTime-set-with-controller.html
new file mode 100644
index 0000000000000000000000000000000000000000..6b2c63a4a7ff07f5fcb8543eb4b450b5e5f257b5
--- /dev/null
+++ b/LayoutTests/media/video-currentTime-set-with-controller.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<html>
+ <head>
+ <title>Setting currentTime with a media controller present</title>
+ </head>
+ <body>
+ <video mediagroup="x"></video>
+ <script src="video-test.js"></script>
+ <script>
+ testExpected("video.controller instanceof MediaController", true);
+ testDOMException("video.currentTime = 0", "DOMException.INVALID_STATE_ERR");
+ endTest();
+ </script>
+ </body>
+</html>
« no previous file with comments | « LayoutTests/media/video-buffered-expected.txt ('k') | LayoutTests/media/video-currentTime-set-with-controller-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698