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

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

Issue 1873093003: Convert track tests from video-test.js to testharness.js based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 8 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-addtrack-kind-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/track/track-addtrack-kind-expected.txt b/third_party/WebKit/LayoutTests/media/track/track-addtrack-kind-expected.txt
deleted file mode 100644
index 723b97c72f4e0f2f752c3d8083cd8cee8e15845c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/track/track-addtrack-kind-expected.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-Tests that the addTextTrack() only accepts known 'kind' values.
-
-++ Test invalid 'kind'.
-EXPECTED (video.textTracks.length == '0') OK
-TEST(video.addTextTrack('kaptions')) THROWS("TypeError: Failed to execute 'addTextTrack' on 'HTMLMediaElement': parameter 1 ('kaptions') is not a valid enum value.") FAIL
-EXPECTED (video.textTracks.length == '0') OK
-
-++ Test all valid 'kind' keywords.
-RUN(video.addTextTrack('subtitles'))
-EXPECTED (video.textTracks.length == '1') OK
-RUN(video.addTextTrack('captions'))
-EXPECTED (video.textTracks.length == '2') OK
-RUN(video.addTextTrack('descriptions'))
-EXPECTED (video.textTracks.length == '3') OK
-RUN(video.addTextTrack('chapters'))
-EXPECTED (video.textTracks.length == '4') OK
-RUN(video.addTextTrack('metadata'))
-EXPECTED (video.textTracks.length == '5') OK
-
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698