8d22524db194fa0bcc9a4aa7eb3edbdd2615347f
[WebKit-https.git] / LayoutTests / media / progress-event-at-least-one-expected.txt
1 Test that at least one 'progress' event is fired before the 'load' event.
2
3 RUN(mediaElement = document.createElement('audio'))
4 RUN(mediaElement.src = 'content/test.wav')
5 RUN(mediaElement.load())
6
7 EVENT(loadstart)
8 EVENT(durationchange)
9 EVENT(loadedmetadata)
10 EVENT(loadeddata)
11 EVENT(load)
12 EXPECTED (progressEventCount >= '1') OK
13 END OF TEST
14