Index: LayoutTests/media/video-seek-to-current-position-expected.txt |
diff --git a/LayoutTests/media/video-seek-to-current-position-expected.txt b/LayoutTests/media/video-seek-to-current-position-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2198cbc434cf6a27f008e6fe8ea1d6d25ea67367 |
--- /dev/null |
+++ b/LayoutTests/media/video-seek-to-current-position-expected.txt |
@@ -0,0 +1,24 @@ |
+Test that seeking attribute is true immediately after a seek to the current position, and goes back to false when the seek completes. |
+ |
+EVENT(loadedmetadata) |
+RUN(video.currentTime = seekTime) |
+EXPECTED (video.seeking == 'true') OK |
+ |
+EVENT(seeking) |
+EVENT(timeupdate) |
+EVENT(seeked) |
+ |
+EXPECTED (video.seeking == 'false') OK |
+EXPECTED (video.currentTime == '1') OK |
+RUN(video.currentTime = seekTime) |
+EXPECTED (video.seeking == 'true') OK |
+ |
+EVENT(timeupdate) |
+EVENT(seeking) |
+EVENT(timeupdate) |
+EVENT(seeked) |
+ |
+EXPECTED (video.seeking == 'false') OK |
+EXPECTED (video.currentTime == '1') OK |
+END OF TEST |
+ |