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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-mode-expected.txt

Issue 1942633002: Convert track-mode* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 7 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/track/track-mode-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/track/track-mode-expected.txt b/third_party/WebKit/LayoutTests/media/track/track-mode-expected.txt
deleted file mode 100644
index 44ad210095a12de8617fbb57a2cb065158f2230b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/track/track-mode-expected.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-CONSOLE WARNING: The provided value 'bogus' is not a valid enum value of type TextTrackMode.
-CONSOLE WARNING: The provided value '2' is not a valid enum value of type TextTrackMode.
-Tests that the TextTrack mode attribute is appropriately set.
-
-
-++ Test default attribute value
-EXPECTED (textTrack.mode == 'showing') OK
-EXPECTED (video.textTracks[0].mode == 'showing') OK
-
-*** Set to bogus value, should return default
-RUN(textTrack.mode = 'bogus')
-EXPECTED (textTrack.mode == 'showing') OK
-EXPECTED (video.textTracks[0].mode == 'showing') OK
-
-*** Set to numeric value (no longer supported), should return default
-RUN(textTrack.mode = 2)
-EXPECTED (textTrack.mode == 'showing') OK
-EXPECTED (video.textTracks[0].mode == 'showing') OK
-
-*** Set to known values
-++ 'disabled'
-RUN(textTrack.mode = 'disabled')
-EXPECTED (textTrack.mode == 'disabled') OK
-EXPECTED (video.textTracks[0].mode == 'disabled') OK
-EXPECTED (textTrack.cues == 'null') OK
-
-++ 0 events expected while mode = disabled
-
-++ 'hidden'
-RUN(textTrack.mode = 'hidden')
-EXPECTED (textTrack.mode == 'hidden') OK
-EXPECTED (video.textTracks[0].mode == 'hidden') OK
-EXPECTED (textTrack.cues.length == '3') OK
-
-++ 'showing'
-RUN(textTrack.mode = 'showing')
-EXPECTED (textTrack.mode == 'showing') OK
-EXPECTED (video.textTracks[0].mode == 'showing') OK
-EXPECTED (textTrack.cues.length == '3') OK
-
-++ at least 3 events expected while mode = showing
-EVENT(cuechange)
-EVENT(cuechange)
-EVENT(cuechange)
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698