Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: third_party/WebKit/LayoutTests/media/video-preload-expected.txt

Issue 2104823002: Convert video-prefixed* and video-preload* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/media/video-preload-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/video-preload-expected.txt b/third_party/WebKit/LayoutTests/media/video-preload-expected.txt
deleted file mode 100644
index d78fe4c8184addff193a26392541c056c402a183..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/video-preload-expected.txt
+++ /dev/null
@@ -1,58 +0,0 @@
-CONSOLE ERROR: line 116: Uncaught (in promise) AbortError: The play() request was interrupted by a new load request.
-CONSOLE ERROR: line 116: Uncaught (in promise) AbortError: The play() request was interrupted by a new load request.
-Test to see if media loads automatically when 'preload' is specified.
-
-
-Will load with 'preload=none', should not buffer automatically until 'play()' is called
-RUN(video.setAttribute('preload', 'none'))
-RUN(video.removeAttribute('autoplay'))
-EVENT(loadstart)
-did not buffer automatically OK
-RUN(video.play())
-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
-
-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
-
-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
-
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698