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

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

Issue 2079203002: Convert video-dom* tests to testharness.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nits 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-dom-preload-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/video-dom-preload-expected.txt b/third_party/WebKit/LayoutTests/media/video-dom-preload-expected.txt
deleted file mode 100644
index 8cc83db995c59bd2c4b3fa272f8f6a4afff40148..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/video-dom-preload-expected.txt
+++ /dev/null
@@ -1,58 +0,0 @@
-
-++ Test default attribute value
-EXPECTED (video.preload == 'auto') OK
-EXPECTED (video.getAttribute('preload') == 'null') OK
-
-++ Remove attribute, should revert to default
-RUN(video.removeAttribute('preload'))
-EXPECTED (video.preload == 'auto') OK
-
-++ Set to 'none'
-- set via DOM
-RUN(video.removeAttribute('preload'))
-RUN(video.preload = 'none')
-EXPECTED (video.getAttribute('preload') == 'none') OK
-EXPECTED (video.preload == 'none') OK
-- and via attribute
-RUN(video.removeAttribute('preload'))
-RUN(video.setAttribute('preload', 'none'))
-EXPECTED (video.preload == 'none') OK
-EXPECTED (video.getAttribute('preload') == 'none') OK
-
-++ Set to 'auto'
-- set via DOM
-RUN(video.removeAttribute('preload'))
-RUN(video.preload = 'auto')
-EXPECTED (video.getAttribute('preload') == 'auto') OK
-EXPECTED (video.preload == 'auto') OK
-- and via attribute
-RUN(video.removeAttribute('preload'))
-RUN(video.setAttribute('preload', 'auto'))
-EXPECTED (video.preload == 'auto') OK
-EXPECTED (video.getAttribute('preload') == 'auto') OK
-
-++ set to bogus value, should revert to default value
-RUN(video.removeAttribute('preload'))
-- set via DOM
-RUN(video.preload = 'bogus')
-EXPECTED (video.getAttribute('preload') == 'bogus') OK
-EXPECTED (video.preload == 'auto') OK
-- and via attribute
-RUN(video.setAttribute('preload', 'bogus'))
-EXPECTED (video.preload == 'auto') OK
-EXPECTED (video.getAttribute('preload') == 'bogus') OK
-
-++ Set to 'metadata'
-- set via DOM
-RUN(video.removeAttribute('preload'))
-RUN(video.preload = 'metadata')
-EXPECTED (video.getAttribute('preload') == 'metadata') OK
-EXPECTED (video.preload == 'metadata') OK
-- and via attribute
-RUN(video.removeAttribute('preload'))
-RUN(video.setAttribute('preload', 'metadata'))
-EXPECTED (video.preload == 'metadata') OK
-EXPECTED (video.getAttribute('preload') == 'metadata') OK
-
-END OF TEST
-
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-dom-preload.html ('k') | third_party/WebKit/LayoutTests/media/video-dom-src.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698