OLD | NEW |
| (Empty) |
1 CONSOLE ERROR: line 116: Uncaught (in promise) AbortError: The play() request wa
s interrupted by a new load request. | |
2 CONSOLE ERROR: line 116: Uncaught (in promise) AbortError: The play() request wa
s interrupted by a new load request. | |
3 Test to see if media loads automatically when 'preload' is specified. | |
4 | |
5 | |
6 Will load with 'preload=none', should not buffer automatically until 'play()' is
called | |
7 RUN(video.setAttribute('preload', 'none')) | |
8 RUN(video.removeAttribute('autoplay')) | |
9 EVENT(loadstart) | |
10 did not buffer automatically OK | |
11 RUN(video.play()) | |
12 EVENT(play) | |
13 EVENT(loadedmetadata) | |
14 buffered automatically OK | |
15 | |
16 Will load with 'preload=none', should buffer automatically because 'load()' is c
alled | |
17 RUN(video.setAttribute('preload', 'none')) | |
18 RUN(video.removeAttribute('autoplay')) | |
19 RUN(video.load()) | |
20 EVENT(loadstart) | |
21 EVENT(loadedmetadata) | |
22 buffered automatically OK | |
23 | |
24 Will load with 'preload=none', should buffer automatically because 'play()' is c
alled | |
25 RUN(video.setAttribute('preload', 'none')) | |
26 RUN(video.removeAttribute('autoplay')) | |
27 RUN(video.play()) | |
28 EVENT(play) | |
29 EVENT(loadstart) | |
30 EVENT(loadedmetadata) | |
31 buffered automatically OK | |
32 | |
33 Will load with 'preload=metadata', should buffer automatically | |
34 RUN(video.setAttribute('preload', 'metadata')) | |
35 RUN(video.removeAttribute('autoplay')) | |
36 RUN(video.load()) | |
37 EVENT(loadstart) | |
38 EVENT(loadedmetadata) | |
39 buffered automatically OK | |
40 | |
41 Will load with 'preload=auto', should buffer automatically | |
42 RUN(video.setAttribute('preload', 'auto')) | |
43 RUN(video.removeAttribute('autoplay')) | |
44 RUN(video.load()) | |
45 EVENT(loadstart) | |
46 EVENT(loadedmetadata) | |
47 buffered automatically OK | |
48 | |
49 Will load with 'preload=none', should buffer automatically because of 'autoplay' | |
50 RUN(video.setAttribute('preload', 'none')) | |
51 RUN(video.setAttribute('autoplay', 'true')) | |
52 RUN(video.load()) | |
53 EVENT(loadstart) | |
54 EVENT(loadedmetadata) | |
55 buffered automatically OK | |
56 | |
57 END OF TEST | |
58 | |
OLD | NEW |