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

Side by Side Diff: LayoutTests/media/video-controls-captions-multiple-clicks-expected.txt

Issue 54713007: Hide the CC button for <audio> with <track>s (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add test Created 7 years, 1 month 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
1 Tests that multiple toggles of the closed captions button still display captions 1 Tests that multiple toggles of the closed captions button still display captions
2 2
3 EVENT(canplaythrough) 3 EVENT(canplaythrough)
4 4
5 ** Caption button should be visible and enabled because we have a captions track . 5 ** Caption button should be visible and enabled.
6 EXPECTED (captionsButtonCoordinates[0] > '0') OK 6 EXPECTED (captionsButtonCoordinates[0] > '0') OK
7 EXPECTED (captionsButtonCoordinates[1] > '0') OK 7 EXPECTED (captionsButtonCoordinates[1] > '0') OK
8 EXPECTED (captionsButtonElement.disabled == 'false') OK 8 EXPECTED (captionsButtonElement.disabled == 'false') OK
9 9
10 ** The captions track should be listed in textTracks, but not yet loaded. ** 10 ** The captions track should be listed in textTracks, but not yet loaded. **
11 EXPECTED (video.textTracks.length == '1') OK 11 EXPECTED (video.textTracks.length == '1') OK
12 EXPECTED (video.textTracks[0].mode == 'hidden') OK 12 EXPECTED (video.textTracks[0].mode == 'hidden') OK
13 No text track cue with display id '-webkit-media-text-track-display' is currentl y visible 13 No text track cue with display id '-webkit-media-text-track-display' is currentl y visible
14 No text track cue with display id '-webkit-media-text-track-display' is currentl y visible 14 No text track cue with display id '-webkit-media-text-track-display' is currentl y visible
15 No text track cue with display id '-webkit-media-text-track-display' is currentl y visible 15 No text track cue with display id '-webkit-media-text-track-display' is currentl y visible
(...skipping 11 matching lines...) Expand all
27 No text track cue with display id '-webkit-media-text-track-display' is currentl y visible 27 No text track cue with display id '-webkit-media-text-track-display' is currentl y visible
28 28
29 ** Captions should become visible after button is clicked again ** 29 ** Captions should become visible after button is clicked again **
30 *** Click the CC button. 30 *** Click the CC button.
31 EXPECTED (displayElement.innerText == 'First') OK 31 EXPECTED (displayElement.innerText == 'First') OK
32 EXPECTED (displayElement.innerText == 'Second') OK 32 EXPECTED (displayElement.innerText == 'Second') OK
33 EXPECTED (displayElement.innerText == 'Third') OK 33 EXPECTED (displayElement.innerText == 'Third') OK
34 34
35 END OF TEST 35 END OF TEST
36 36
OLDNEW
« no previous file with comments | « LayoutTests/media/video-controls-captions-load-by-lang-expected.txt ('k') | LayoutTests/media/video-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698