| OLD | NEW |
| (Empty) |
| 1 Tests that TextTrack's cues are indexed and updated in order during video playba
ck. Test uses the enter and exits events on TextTrackCue. | |
| 2 | |
| 3 EVENT(canplaythrough) | |
| 4 EXPECTED (testTrack.track.cues.length == '3') OK | |
| 5 RUN(video.play()) | |
| 6 | |
| 7 EVENT(enter) | |
| 8 This cue is the currently active cue: | |
| 9 EXPECTED ([object VTTCue] == '[object VTTCue]') OK | |
| 10 EXPECTED (currentCue.id == '1') OK | |
| 11 | |
| 12 EVENT(exit) | |
| 13 | |
| 14 EVENT(enter) | |
| 15 This cue is the currently active cue: | |
| 16 EXPECTED ([object VTTCue] == '[object VTTCue]') OK | |
| 17 EXPECTED (currentCue.id == '2') OK | |
| 18 | |
| 19 EVENT(exit) | |
| 20 | |
| 21 EVENT(enter) | |
| 22 This cue is the currently active cue: | |
| 23 EXPECTED ([object VTTCue] == '[object VTTCue]') OK | |
| 24 EXPECTED (currentCue.id == '3') OK | |
| 25 | |
| 26 EVENT(exit) | |
| 27 | |
| 28 END OF TEST | |
| 29 | |
| OLD | NEW |