Index: LayoutTests/media/video-preload-expected.txt |
diff --git a/LayoutTests/media/video-preload-expected.txt b/LayoutTests/media/video-preload-expected.txt |
index 874e49969d453321b6dd8700afb2237522639391..2f90a289d03ed94ae3065546279c5584e8ff0f5b 100644 |
--- a/LayoutTests/media/video-preload-expected.txt |
+++ b/LayoutTests/media/video-preload-expected.txt |
@@ -11,9 +11,27 @@ EVENT(play) |
EVENT(loadedmetadata) |
buffered automatically OK |
+Will load with 'preload=none', should buffer automatically because 'load()' is called |
+RUN(video.setAttribute('preload', 'none')) |
+RUN(video.removeAttribute('autoplay')) |
+RUN(video.load()) |
+EVENT(loadstart) |
+EVENT(loadedmetadata) |
+buffered automatically OK |
+ |
+Will load with 'preload=none', should buffer automatically because 'play()' is called |
+RUN(video.setAttribute('preload', 'none')) |
+RUN(video.removeAttribute('autoplay')) |
+RUN(video.play()) |
+EVENT(play) |
+EVENT(loadstart) |
+EVENT(loadedmetadata) |
+buffered automatically OK |
+ |
Will load with 'preload=metadata', should buffer automatically |
RUN(video.setAttribute('preload', 'metadata')) |
RUN(video.removeAttribute('autoplay')) |
+RUN(video.load()) |
EVENT(loadstart) |
EVENT(loadedmetadata) |
buffered automatically OK |
@@ -21,6 +39,7 @@ buffered automatically OK |
Will load with 'preload=auto', should buffer automatically |
RUN(video.setAttribute('preload', 'auto')) |
RUN(video.removeAttribute('autoplay')) |
+RUN(video.load()) |
EVENT(loadstart) |
EVENT(loadedmetadata) |
buffered automatically OK |
@@ -28,6 +47,7 @@ buffered automatically OK |
Will load with 'preload=none', should buffer automatically because of 'autoplay' |
RUN(video.setAttribute('preload', 'none')) |
RUN(video.setAttribute('autoplay', 'true')) |
+RUN(video.load()) |
EVENT(loadstart) |
EVENT(loadedmetadata) |
buffered automatically OK |