Merge "Fix webgl crash issue." into tizen_2.2
[framework/web/webkit-efl.git] / LayoutTests / media / video-preload-expected.txt
1 Test to see if media loads automatically when 'preload' is specified.
2
3
4 Will load with 'preload=none', should not buffer automatically until 'play()' is called
5 RUN(video.setAttribute('preload', 'none'))
6 RUN(video.removeAttribute('autoplay'))
7 EVENT(loadstart)
8 did not buffer automatically OK
9 RUN(video.play())
10 EVENT(play)
11 EVENT(loadedmetadata)
12 buffered automatically OK
13
14 Will load with 'preload=metadata', should buffer automatically 
15 RUN(video.setAttribute('preload', 'metadata'))
16 RUN(video.removeAttribute('autoplay'))
17 EVENT(loadstart)
18 EVENT(loadedmetadata)
19 buffered automatically OK
20
21 Will load with 'preload=auto', should buffer automatically 
22 RUN(video.setAttribute('preload', 'auto'))
23 RUN(video.removeAttribute('autoplay'))
24 EVENT(loadstart)
25 EVENT(loadedmetadata)
26 buffered automatically OK
27
28 Will load with 'preload=none', should buffer automatically because of 'autoplay'
29 RUN(video.setAttribute('preload', 'none'))
30 RUN(video.setAttribute('autoplay', 'true'))
31 EVENT(loadstart)
32 EVENT(loadedmetadata)
33 buffered automatically OK
34
35 END OF TEST
36