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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/text-track-selection-menu-multiple-tracks-expected.txt

Issue 1079323002: Support text track selection in video controls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Blink repo changes and addressed comments from philipj and UX Created 4 years, 10 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 multiple tracks and select between them from the track sele ction 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 == '5') OK
10
11 Select track at index 0
12 *** Click the CC button.
13 EXPECTED (video.textTracks[0].mode == 'showing') OK
14 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'English') OK
15
16 Select track at index 1
17 *** Click the CC button.
18 EXPECTED (video.textTracks[1].mode == 'showing') OK
19 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Russian') OK
20
21 Select track at index 2
22 *** Click the CC button.
23 EXPECTED (video.textTracks[2].mode == 'showing') OK
24 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'French') OK
25
26 Select track at index 3
27 *** Click the CC button.
28 EXPECTED (video.textTracks[3].mode == 'showing') OK
29 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Japanese') OK
30
31 Select track at index 4
32 *** Click the CC button.
33 EXPECTED (video.textTracks[4].mode == 'showing') OK
34 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'German') OK
35
36 END OF TEST
37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698