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

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

Issue 2094993002: Convert video-volume*, video-width* and viewport* 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-volume-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/video-volume-expected.txt b/third_party/WebKit/LayoutTests/media/video-volume-expected.txt
deleted file mode 100644
index 873876639e5d507ce416c3bb05e01180c4be78fd..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/video-volume-expected.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-Test 'volume' attribute
-
-EXPECTED (video.volume == '1') OK
-RUN(video.volume = 0.5)
-EXPECTED (video.volume == '0.5') OK
-RUN(video.volume = Number.MIN_VALUE)
-EXPECTED (video.volume == '5e-324') OK
-RUN(video.volume = 0)
-EXPECTED (video.volume == '0') OK
-TEST(video.volume = 1.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (1.5) is outside the range [0, 1].) OK
-TEST(video.volume = -0.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (-0.5) is outside the range [0, 1].) OK
-TEST(video.volume = -Infinity) THROWS("TypeError: Failed to set the 'volume' property on 'HTMLMediaElement': The provided double value is non-finite.") OK
-TEST(video.volume = Infinity) THROWS("TypeError: Failed to set the 'volume' property on 'HTMLMediaElement': The provided double value is non-finite.") OK
-TEST(video.volume = NaN) THROWS("TypeError: Failed to set the 'volume' property on 'HTMLMediaElement': The provided double value is non-finite.") OK
-RUN(video.load())
-EVENT(canplaythrough)
-EXPECTED (video.volume == '0') OK
-RUN(video.volume = 0.5)
-EXPECTED (video.volume == '0.5') OK
-TEST(video.volume = 1.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (1.5) is outside the range [0, 1].) OK
-TEST(video.volume = -0.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (-0.5) is outside the range [0, 1].) OK
-END OF TEST
-
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-volume.html ('k') | third_party/WebKit/LayoutTests/media/video-width-height.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698