| OLD | NEW | 
|---|
| 1 Tests that the closed captions button, when toggled, updates the text track disp
    lay area. | 1 Tests that the closed captions button, when toggled, updates the text track disp
    lay area. | 
| 2 | 2 | 
| 3 Set the user language preference so that the track will be chosen when the CC bu
    tton is clicked. |  | 
| 4 RUN(internals.setUserPreferredLanguages(['en'])) |  | 
| 5 EVENT(canplaythrough) | 3 EVENT(canplaythrough) | 
| 6 | 4 | 
| 7 ** Caption button should be visible and enabled because we have a captions track
    . | 5 ** Caption button should be visible and enabled because we have a captions track
    . | 
| 8 EXPECTED (captionsButtonCoordinates[0] > '0') OK | 6 EXPECTED (captionsButtonCoordinates[0] > '0') OK | 
| 9 EXPECTED (captionsButtonCoordinates[1] > '0') OK | 7 EXPECTED (captionsButtonCoordinates[1] > '0') OK | 
| 10 EXPECTED (captionsButtonElement.disabled == 'false') OK | 8 EXPECTED (captionsButtonElement.disabled == 'false') OK | 
| 11 | 9 | 
| 12 ** 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. ** | 
| 13 EXPECTED (video.textTracks.length == '1') OK | 11 EXPECTED (video.textTracks.length == '1') OK | 
| 14 EXPECTED (video.textTracks[0].mode == 'disabled') OK | 12 EXPECTED (video.textTracks[0].mode == 'disabled') OK | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 46 EXPECTED (captionsButtonCoordinates[1] <= '0') OK | 44 EXPECTED (captionsButtonCoordinates[1] <= '0') OK | 
| 47 | 45 | 
| 48 ** Add a text track through JS to the video element ** | 46 ** Add a text track through JS to the video element ** | 
| 49 | 47 | 
| 50 ** Caption button should be visible and enabled because we have a captions track
    . | 48 ** Caption button should be visible and enabled because we have a captions track
    . | 
| 51 EXPECTED (captionsButtonCoordinates[0] > '0') OK | 49 EXPECTED (captionsButtonCoordinates[0] > '0') OK | 
| 52 EXPECTED (captionsButtonCoordinates[1] > '0') OK | 50 EXPECTED (captionsButtonCoordinates[1] > '0') OK | 
| 53 EXPECTED (captionsButtonElement.disabled == 'false') OK | 51 EXPECTED (captionsButtonElement.disabled == 'false') OK | 
| 54 END OF TEST | 52 END OF TEST | 
| 55 | 53 | 
| OLD | NEW | 
|---|