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