| OLD | NEW |
| (Empty) |
| 1 Test that cues are rendered and removed. | |
| 2 | |
| 3 EVENT(canplaythrough) | |
| 4 EVENT(seeked) | |
| 5 EXPECTED (video.currentTime.toFixed(1) == '0.5') OK | |
| 6 No text track cue with display id '-webkit-media-text-track-display' is currentl
y visible | |
| 7 | |
| 8 RUN(video.currentTime = 1.5) | |
| 9 EVENT(seeked) | |
| 10 EXPECTED (video.currentTime.toFixed(1) == '1.5') OK | |
| 11 EXPECTED (testTrack.track.activeCues[0].text == 'Lorem ipsum dolor sit amet,') O
K | |
| 12 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Lorem ipsum do
lor sit amet,') OK | |
| 13 | |
| 14 RUN(video.currentTime = 2.5) | |
| 15 EVENT(seeked) | |
| 16 EXPECTED (video.currentTime.toFixed(1) == '2.5') OK | |
| 17 No text track cue with display id '-webkit-media-text-track-display' is currentl
y visible | |
| 18 | |
| 19 RUN(video.currentTime = 3.3) | |
| 20 EVENT(seeked) | |
| 21 EXPECTED (video.currentTime.toFixed(1) == '3.3') OK | |
| 22 EXPECTED (testTrack.track.activeCues[0].text == 'consectetuer adipiscing elit,')
OK | |
| 23 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'consectetuer a
dipiscing elit,') OK | |
| 24 | |
| 25 RUN(video.currentTime = 0.6) | |
| 26 EVENT(seeked) | |
| 27 EXPECTED (video.currentTime.toFixed(1) == '0.6') OK | |
| 28 No text track cue with display id '-webkit-media-text-track-display' is currentl
y visible | |
| 29 | |
| 30 RUN(video.currentTime = 5.9) | |
| 31 EVENT(seeked) | |
| 32 EXPECTED (video.currentTime.toFixed(1) == '5.9') OK | |
| 33 EXPECTED (testTrack.track.activeCues[0].text == 'sed diam nonummy nibh euismod t
incidunt') OK | |
| 34 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'sed diam nonum
my nibh euismod tincidunt') OK | |
| 35 | |
| 36 RUN(video.currentTime = 4.4) | |
| 37 EVENT(seeked) | |
| 38 EXPECTED (video.currentTime.toFixed(1) == '4.4') OK | |
| 39 No text track cue with display id '-webkit-media-text-track-display' is currentl
y visible | |
| 40 | |
| 41 RUN(video.currentTime = 7.9) | |
| 42 EVENT(seeked) | |
| 43 EXPECTED (video.currentTime.toFixed(1) == '7.9') OK | |
| 44 EXPECTED (testTrack.track.activeCues[0].text == 'ut laoreet dolore magna aliquam
erat volutpat.') OK | |
| 45 EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'ut laoreet dol
ore magna aliquam erat volutpat.') OK | |
| 46 | |
| 47 END OF TEST | |
| 48 | |
| OLD | NEW |