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..a553259f5c0d4233d9269f0a3e45453d5390d104 |
--- /dev/null |
+++ b/LayoutTests/media/video-seek-to-current-position-expected.txt |
@@ -0,0 +1,21 @@ |
+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(seeked) |
+ |
+EXPECTED (video.seeking == 'false') OK |
+EXPECTED (video.currentTime == '1') OK |
+RUN(video.currentTime = seekTime) |
+EXPECTED (video.seeking == 'true') OK |
+ |
+EVENT(seeking) |
+EVENT(seeked) |
+ |
+EXPECTED (video.seeking == 'false') OK |
+EXPECTED (video.currentTime == '1') OK |
+END OF TEST |
+ |