OLD | NEW |
| 1 CONSOLE WARNING: The provided value 'bogus' is not a valid value of type 'TextTr
ackMode'. |
| 2 CONSOLE WARNING: The provided value '2' is not a valid value of type 'TextTrackM
ode'. |
1 Tests that the TextTrack mode attribute is appropriately set. | 3 Tests that the TextTrack mode attribute is appropriately set. |
2 | 4 |
3 | 5 |
4 ++ Test default attribute value | 6 ++ Test default attribute value |
5 EXPECTED (textTrack.mode == 'showing') OK | 7 EXPECTED (textTrack.mode == 'showing') OK |
6 EXPECTED (video.textTracks[0].mode == 'showing') OK | 8 EXPECTED (video.textTracks[0].mode == 'showing') OK |
7 | 9 |
8 *** Set to bogus value, should return default | 10 *** Set to bogus value, should return default |
9 RUN(textTrack.mode = 'bogus') | 11 RUN(textTrack.mode = 'bogus') |
10 EXPECTED (textTrack.mode == 'showing') OK | 12 EXPECTED (textTrack.mode == 'showing') OK |
(...skipping 24 matching lines...) Expand all Loading... |
35 EXPECTED (textTrack.mode == 'showing') OK | 37 EXPECTED (textTrack.mode == 'showing') OK |
36 EXPECTED (video.textTracks[0].mode == 'showing') OK | 38 EXPECTED (video.textTracks[0].mode == 'showing') OK |
37 EXPECTED (textTrack.cues.length == '3') OK | 39 EXPECTED (textTrack.cues.length == '3') OK |
38 | 40 |
39 ++ at least 3 events expected while mode = showing | 41 ++ at least 3 events expected while mode = showing |
40 EVENT(cuechange) | 42 EVENT(cuechange) |
41 EVENT(cuechange) | 43 EVENT(cuechange) |
42 EVENT(cuechange) | 44 EVENT(cuechange) |
43 END OF TEST | 45 END OF TEST |
44 | 46 |
OLD | NEW |