Index: LayoutTests/media/video-currentTime-before-have-metadata-media-fragment-uri.html |
diff --git a/LayoutTests/media/video-currentTime-before-have-metadata-media-fragment-uri.html b/LayoutTests/media/video-currentTime-before-have-metadata-media-fragment-uri.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d81e843a388fdabc6a05217bae9ce628b197e2d0 |
--- /dev/null |
+++ b/LayoutTests/media/video-currentTime-before-have-metadata-media-fragment-uri.html |
@@ -0,0 +1,25 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>Test currentTime values when setting while HAVE_NOTHING for media fragment URI.</title> |
+ </head> |
+ <body> |
+ <video id="video"></video> |
+ <script src=media-file.js></script> |
+ <script src=video-test.js></script> |
+ <script> |
+ video = document.getElementById('video'); |
+ |
+ video.src = findMediaFile("video", "content/test") + "#t=2"; |
+ testExpected("video.currentTime", 0); |
+ video.currentTime = 1; |
+ |
+ waitForEvent('loadedmetadata', function() |
+ { |
+ testExpected("video.currentTime", 1); |
+ }); |
+ |
+ waitForEventAndEnd('seeked'); |
+ </script> |
+ </body> |
+</html> |