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

Side by Side Diff: LayoutTests/media/track/text-track-selection-menu-add-track-expected.txt

Issue 1082533002: Support text track selection in video controls (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 Test that we can add a track dynamically and it is displayed on the track select ion menu
2 EVENT(canplaythrough)
3
4 ** Caption button should be visible and enabled.
5 EXPECTED (captionsButtonCoordinates[0] > '0') OK
6 EXPECTED (captionsButtonCoordinates[1] > '0') OK
7 EXPECTED (captionsButtonElement.disabled == 'false') OK
8
9 EXPECTED (video.textTracks.length == '2') OK
10 EXPECTED (video.textTracks[0].mode == 'showing') OK
11 EXPECTED (track.mode == 'hidden') OK
12
13 Verify the default track is being displayed
14 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Lorem') OK
15
16 Select the newly added track
17 *** Click the CC button.
18 EXPECTED (track.mode == 'showing') OK
19 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Bonjour') OK
20 END OF TEST
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698