OLD | NEW |
| (Empty) |
1 Tests cues with <timestamps> tags. | |
2 | |
3 EXPECTED (video.textTracks[0].cues.length == '3') OK | |
4 EXPECTED (video.textTracks[0].cues[0].getCueAsHTML().textContent == 'This cue is
painted on.') OK | |
5 EXPECTED (video.textTracks[0].cues[1].getCueAsHTML().textContent == 'I said Bear
is coming!!!!') OK | |
6 EXPECTED (video.textTracks[0].cues[2].getCueAsHTML().textContent == 'I said Bear
is coming now!!!!') OK | |
7 EXPECTED (video.textTracks[1].cues.length == '3') OK | |
8 EXPECTED (video.textTracks[1].cues[0].getCueAsHTML().textContent == 'This cue is
painted on. But since the last two timestamps are out of order, they are ignore
d.') OK | |
9 EXPECTED (video.textTracks[1].cues[1].getCueAsHTML().textContent == 'I said Bear
is coming!!!! All of these timestamps are before the start of the cue, so get i
gnored.') OK | |
10 EXPECTED (video.textTracks[1].cues[2].getCueAsHTML().textContent == 'I said Bear
is coming now!!!! All of these timestamps are after the end of the cue, so get
ignored.') OK | |
11 END OF TEST | |
12 | |
OLD | NEW |