Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: LayoutTests/media/video-seek-to-current-position-expected.txt

Issue 431903003: Always notify the MediaPlayer of any seek. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: nits Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/media/video-seek-to-current-position.html ('k') | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+
« no previous file with comments | « LayoutTests/media/video-seek-to-current-position.html ('k') | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698