2009-08-20 Eric Carlson <eric.carlson@apple.com>
[WebKit-https.git] / LayoutTests / media / event-attributes-expected.txt
1 EVENT(loadstart)
2 EVENT(durationchange)
3 EVENT(loadedmetadata)
4 EVENT(loadeddata)
5 EVENT(canplay)
6 EVENT(canplaythrough)
7 EVENT(load)
8 EVENT(loadend)
9
10 *** starting playback
11 RUN(video.play())
12 EVENT(play)
13 EVENT(playing)
14
15 *** changing playback rate
16 RUN(video.playbackRate = 2)
17 EVENT(ratechange)
18
19 *** setting volume
20 RUN(video.volume = 0.5)
21 EVENT(volumechange)
22
23 *** pausing playback
24 RUN(video.pause())
25 EVENT(pause)
26
27 *** seeking
28 RUN(video.currentTime = 5.6)
29 EVENT(seeked)
30
31 *** beginning playback
32 RUN(video.play())
33 EVENT(ratechange)
34 EVENT(play)
35 EVENT(playing)
36 EVENT(ended)
37
38 *** played to end, setting 'src' to an invalid movie
39 RUN(video.src = 'content/garbage.mp4')
40 RUN(video.load())
41 EVENT(emptied)
42 EVENT(loadstart)
43 EVENT(error)
44 EXPECTED (progressEventCount >= '1') OK
45 END OF TEST
46