OLD | NEW |
---|---|
1 CONSOLE ERROR: The provided value 'bogus' is not a valid value of type 'TextTrac kMode'. | |
Nils Barth (inactive)
2015/02/26 17:21:54
Obviously intentional (good test!):
https://code.g
| |
1 Tests that the TextTrack mode attribute is appropriately set. | 2 Tests that the TextTrack mode attribute is appropriately set. |
2 | 3 |
3 | 4 |
4 ++ Test default attribute value | 5 ++ Test default attribute value |
5 EXPECTED (textTrack.mode == 'showing') OK | 6 EXPECTED (textTrack.mode == 'showing') OK |
6 EXPECTED (video.textTracks[0].mode == 'showing') OK | 7 EXPECTED (video.textTracks[0].mode == 'showing') OK |
7 | 8 |
8 *** Set to bogus value, should return default | 9 *** Set to bogus value, should return default |
9 RUN(textTrack.mode = 'bogus') | 10 RUN(textTrack.mode = 'bogus') |
10 EXPECTED (textTrack.mode == 'showing') OK | 11 EXPECTED (textTrack.mode == 'showing') OK |
(...skipping 19 matching lines...) Expand all Loading... | |
30 EXPECTED (textTrack.mode == 'showing') OK | 31 EXPECTED (textTrack.mode == 'showing') OK |
31 EXPECTED (video.textTracks[0].mode == 'showing') OK | 32 EXPECTED (video.textTracks[0].mode == 'showing') OK |
32 EXPECTED (textTrack.cues.length == '3') OK | 33 EXPECTED (textTrack.cues.length == '3') OK |
33 | 34 |
34 ++ at least 3 events expected while mode = showing | 35 ++ at least 3 events expected while mode = showing |
35 EVENT(cuechange) | 36 EVENT(cuechange) |
36 EVENT(cuechange) | 37 EVENT(cuechange) |
37 EVENT(cuechange) | 38 EVENT(cuechange) |
38 END OF TEST | 39 END OF TEST |
39 | 40 |
OLD | NEW |