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

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

Issue 1952893004: Convert track-text-track* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-texttracks.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/track/track-texttracks-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/track/track-texttracks-expected.txt b/third_party/WebKit/LayoutTests/media/track/track-texttracks-expected.txt
deleted file mode 100644
index 4dd61e66a042a5d7ff2c4d648eae79b207aa1403..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/track/track-texttracks-expected.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-Tests that TextTracks in a TextTrackList are kept in the correct order.
-
-** Add a track with video.addTextTrack().
-RUN(video.addTextTrack('descriptions', 'Descriptions Track', 'en'))
-
-** Add a <track> element with DOM API.
-RUN(trackElement = document.createElement('track'))
-RUN(trackElement.setAttribute('kind', 'chapters'))
-RUN(video.appendChild(trackElement))
-
-** Verify track order.
-EXPECTED (video.textTracks.length == '3') OK
-EXPECTED (video.textTracks[0].kind == 'captions') OK
-EXPECTED (video.textTracks[1].kind == 'chapters') OK
-EXPECTED (video.textTracks[2].kind == 'descriptions') OK
-
-** Verify the default parameters of the text track object returned by addTextTrack(). **
-EXPECTED (video.textTracks[2].mode == 'hidden' == 'true') OK
-EXPECTED (video.textTracks[2].cues != null == 'true') OK
-EXPECTED (video.textTracks[2].cues.length == 0 == 'true') OK
-
-** Add another <track> element, is should insert before the addTextTrack() track.
-RUN(trackElement = document.createElement('track'))
-RUN(trackElement.setAttribute('kind', 'metadata'))
-RUN(video.appendChild(trackElement))
-EXPECTED (video.textTracks.length == '4') OK
-EXPECTED (video.textTracks[0].kind == 'captions') OK
-EXPECTED (video.textTracks[1].kind == 'chapters') OK
-EXPECTED (video.textTracks[2].kind == 'metadata') OK
-EXPECTED (video.textTracks[3].kind == 'descriptions') OK
-
-END OF TEST
-
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-texttracks.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698