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

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

Issue 2121613002: Convert video-controls-[captions, overlay, track]* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nit Created 4 years, 5 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-controls-captions-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/video-controls-captions-expected.txt b/third_party/WebKit/LayoutTests/media/video-controls-captions-expected.txt
deleted file mode 100644
index 8cb9dfa4c055064cf5c63ee7ae7a5d3dbafbb71d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/video-controls-captions-expected.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-Tests that the closed captions button enables track switching
-
-EVENT(canplaythrough)
-
-** Caption button should be visible and enabled.
-EXPECTED (captionsButtonCoordinates[0] > '0') OK
-EXPECTED (captionsButtonCoordinates[1] > '0') OK
-EXPECTED (captionsButtonElement.disabled == 'false') OK
-
-** The captions track should be listed in textTracks, but not yet loaded. **
-EXPECTED (video.textTracks.length == '1') OK
-EXPECTED (video.textTracks[0].mode == 'disabled') OK
-Failed to find text track container element
-
-** Captions track should load and captions should become visible after a track is selected **
-*** Click the CC button.
-EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Lorem') OK
-
-** Captions should not be visible after Off is clicked **
-*** Click the CC button.
-No text track cue with display id '-webkit-media-text-track-display' is currently visible
-
-** Remove DOM node representing the track element **
-
-** Caption button should not be visible.
-EXPECTED (captionsButtonCoordinates[0] <= '0') OK
-EXPECTED (captionsButtonCoordinates[1] <= '0') OK
-
-** Add non-default text track through HTML with unloadable URI **
-EXPECTED (track.readyState == '0') OK
-EXPECTED (track.track.mode == 'disabled') OK
-EXPECTED (video.textTracks.length == '1') OK
-
-** Caption button should be visible and enabled.
-EXPECTED (captionsButtonCoordinates[0] > '0') OK
-EXPECTED (captionsButtonCoordinates[1] > '0') OK
-EXPECTED (captionsButtonElement.disabled == 'false') OK
-
-*** Click the CC button.
-** Track failed to load **
-
-** Caption button should not be visible.
-EXPECTED (captionsButtonCoordinates[0] <= '0') OK
-EXPECTED (captionsButtonCoordinates[1] <= '0') OK
-
-** Add a text track through JS to the video element **
-
-** Caption button should be visible and enabled.
-EXPECTED (captionsButtonCoordinates[0] > '0') OK
-EXPECTED (captionsButtonCoordinates[1] > '0') OK
-EXPECTED (captionsButtonElement.disabled == 'false') OK
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698