/home/clopez/webkit/webkit/layout-test-results/media/video-controls-captions-trackmenu-actual.txt

11Test that we are able to trigger the list of captions, and select from the list.
 2
23
34EVENT(canplaythrough)
45
56*** Set the user language preference.
67RUN(internals.setUserPreferredLanguages(['en']))
 8EXPECTED (trackListElement.offsetHeight > '0') OK
79
810*** Add another text track.
911RUN(video.addTextTrack("captions", "Commentary", "ru"))
1012
1113*** Turning captions on
1214There should be 6 items in the menu.
13 EXPECTED (trackListItems.length == '6') OK
 15EXPECTED (trackListItems.length == '6'), OBSERVED '5' FAIL
1416EXPECTED (video.textTracks.length == '4') OK
1517Track 0 should be showing
1618EXPECTED (video.textTracks[0].mode == 'showing') OK

2022EXPECTED (video.textTracks[2].mode == 'disabled') OK
2123Track 3 should be disabled
2224EXPECTED (video.textTracks[3].mode == 'disabled') OK
23 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Lorem') OK
 25EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Lorem'), OBSERVED 'Lorem ' FAIL
2426
2527*** Remove a track.
2628RUN(video.removeChild(document.querySelectorAll("track")[0]))