9563939efd76d58e5e606e5e8221124cdecfb0d7
[WebKit-https.git] / LayoutTests / media / media-load-event-expected.txt
1 Test that media file is not reloaded when an element is inserted into the DOM.
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(loadeddata)
10 EVENT(load)
11
12 RUN(document.getElementById('parent').appendChild(mediaElement))
13 RUN(mediaElement.play())
14
15 EVENT(play)
16 EVENT(playing)
17 END OF TEST
18