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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-add-track-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-add-track-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/track/track-add-track-expected.txt b/third_party/WebKit/LayoutTests/media/track/track-add-track-expected.txt
deleted file mode 100644
index fdb351d684f2e07819cc467f2a34453548afac28..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/track/track-add-track-expected.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-Tests that the 'addtrack' event is fired when a TextTrack is created.
-
-** Test a TextTrack created for a <track> element.
-RUN(trackElement = document.createElement('track'))
-RUN(video.appendChild(trackElement))
-RUN(trackElement.src = 'captions-webvtt/tc004-webvtt-file.vtt')
-RUN(trackElement.track.mode = 'hidden')
-EXPECTED (video.textTracks.length == '1') OK
-EXPECTED (trackElement.readyState == '0') OK
-EVENT(addtrack)
-EXPECTED (event.target == '[object TextTrackList]') OK
-EXPECTED (event instanceof window.TrackEvent == 'true') OK
-EXPECTED (event.track == '[object TextTrack]') OK
-
-** Test a TextTrack created with video.addTextTrack().
-RUN(tracks.push(video.addTextTrack('captions', 'Caption Track', 'en')))
-EXPECTED (video.textTracks.length == '2') OK
-EVENT(addtrack)
-EXPECTED (event.target == '[object TextTrackList]') OK
-EXPECTED (event instanceof window.TrackEvent == 'true') OK
-EXPECTED (event.track == '[object TextTrack]') OK
-
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698