[Modern Media Controls] Turn media/modern-media-controls/ios-inline-media-controls...
[WebKit-https.git] / LayoutTests / media / video-controls-audiotracks-trackmenu-expected.txt
1 Test that we are able to trigger the list of captions, and select from the list.
2
3
4 EVENT(canplaythrough)
5 *** Menu item 0 should be selected
6 EXPECTED (trackListItems.length == '3') OK
7 EXPECTED (trackListItems[0].classList.contains('selected') == 'true') OK
8 EXPECTED (trackListItems[1].classList.contains('selected') == 'false') OK
9 EXPECTED (trackListItems[2].classList.contains('selected') == 'false') OK
10 *** Selecting French Track
11 - click on 'French' menu item.
12 EXPECTED (video.audioTracks.length == '3') OK
13 EXPECTED (video.audioTracks[0].enabled == 'false') OK
14 EXPECTED (video.audioTracks[1].enabled == 'true') OK
15 EXPECTED (video.audioTracks[2].enabled == 'false') OK
16 END OF TEST
17