Index: LayoutTests/media/video-seek-no-src.html |
diff --git a/LayoutTests/media/video-seek-no-src-exception.html b/LayoutTests/media/video-seek-no-src.html |
similarity index 55% |
rename from LayoutTests/media/video-seek-no-src-exception.html |
rename to LayoutTests/media/video-seek-no-src.html |
index 4eccf912728c247296c09c31fdc2788ef9d4ede3..c70a8c80642e9da3a8ec03f3044dc6f58a4d6ed9 100644 |
--- a/LayoutTests/media/video-seek-no-src-exception.html |
+++ b/LayoutTests/media/video-seek-no-src.html |
@@ -2,16 +2,17 @@ |
<body> |
<video loop controls></video> |
- |
- <p>Test that seeking video with no 'src' attribute throws an INVALID_STATE_ERR exception.</p> |
+ |
+ <p>Test that seeking video with no 'src' attribute sets default playback start position to that time.</p> |
<script src=video-test.js></script> |
<script> |
testExpected("video.networkState", HTMLMediaElement.NETWORK_EMPTY); |
testExpected("video.readyState", HTMLMediaElement.HAVE_NOTHING); |
- testDOMException("video.currentTime = 1.1", "DOMException.INVALID_STATE_ERR"); |
- setTimeout(endTest, 200) |
+ video.currentTime = 1.1; |
+ testExpected("video.currentTime", 1.1); |
+ endTest(); |
</script> |
- |
+ |
</body> |
</html> |