Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-preload-expected.txt
blob2f90a289d03ed94ae3065546279c5584e8ff0f5b
1 Test to see if media loads automatically when 'preload' is specified.
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
14 Will load with 'preload=none', should buffer automatically because 'load()' is called
15 RUN(video.setAttribute('preload', 'none'))
16 RUN(video.removeAttribute('autoplay'))
17 RUN(video.load())
18 EVENT(loadstart)
19 EVENT(loadedmetadata)
20 buffered automatically OK
22 Will load with 'preload=none', should buffer automatically because 'play()' is called
23 RUN(video.setAttribute('preload', 'none'))
24 RUN(video.removeAttribute('autoplay'))
25 RUN(video.play())
26 EVENT(play)
27 EVENT(loadstart)
28 EVENT(loadedmetadata)
29 buffered automatically OK
31 Will load with 'preload=metadata', should buffer automatically 
32 RUN(video.setAttribute('preload', 'metadata'))
33 RUN(video.removeAttribute('autoplay'))
34 RUN(video.load())
35 EVENT(loadstart)
36 EVENT(loadedmetadata)
37 buffered automatically OK
39 Will load with 'preload=auto', should buffer automatically 
40 RUN(video.setAttribute('preload', 'auto'))
41 RUN(video.removeAttribute('autoplay'))
42 RUN(video.load())
43 EVENT(loadstart)
44 EVENT(loadedmetadata)
45 buffered automatically OK
47 Will load with 'preload=none', should buffer automatically because of 'autoplay'
48 RUN(video.setAttribute('preload', 'none'))
49 RUN(video.setAttribute('autoplay', 'true'))
50 RUN(video.load())
51 EVENT(loadstart)
52 EVENT(loadedmetadata)
53 buffered automatically OK
55 END OF TEST