Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-seeking-expected.txt
blob94c50ac8836dd54100e3518cfd0e238a66a8eeb4
1 Test that seeking attribute is true immediately after a seek, goes back to false when seeking completes, and that a 'seeked' event is fired for each seek
3 EVENT(canplaythrough)
4 RUN(video.currentTime = 0.5)
6 EVENT(seeked)
8 EXPECTED (video.seeking == 'false') OK
9 EXPECTED (video.currentTime == '0.5') OK
10 RUN(video.currentTime = 1)
11 EXPECTED (video.seeking == 'true') OK
13 EVENT(seeked)
15 EXPECTED (video.seeking == 'false') OK
16 EXPECTED (video.currentTime == '1') OK
17 RUN(video.currentTime = 1.5)
18 EXPECTED (video.seeking == 'true') OK
20 EVENT(seeked)
22 EXPECTED (video.seeking == 'false') OK
23 EXPECTED (video.currentTime == '1.5') OK
24 END OF TEST