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> |