[Modern Media Controls] Turn media/modern-media-controls/ios-inline-media-controls...
[WebKit-https.git] / LayoutTests / media / video-does-not-loop-expected.txt
1 Test to make sure QuickTime movie saved with 'loop' user data does not loop automatically.
2
3 ++ Test initial state.
4 EXPECTED (video.loop == 'false') OK
5 EVENT(loadedmetadata)
6
7 ++ seek to near the end to reduce test time.
8 RUN(video.currentTime = video.duration - 0.4)
9 EVENT(seeked)
10
11 ++ seek completed, beginning playback.
12 EXPECTED (video.paused == 'true') OK
13 EXPECTED (video.ended == 'false') OK
14 RUN(video.play())
15
16 EVENT(pause)
17 EVENT(ended)
18
19 ++ played to end and stopped.
20 EXPECTED (video.ended == 'true') OK
21 EXPECTED (mediaElement.currentTime == 'mediaElement.duration') OK
22
23 END OF TEST
24