| OLD | NEW |
| 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. | 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 | 2 |
| 3 EVENT(canplaythrough) | 3 EVENT(canplaythrough) |
| 4 EXPECTED (testTrack.track.cues.length == '3') OK | 4 EXPECTED (testTrack.track.cues.length == '3') OK |
| 5 RUN(video.play()) | 5 RUN(video.play()) |
| 6 | 6 |
| 7 EVENT(enter) | 7 EVENT(enter) |
| 8 This cue is the currently active cue: | 8 This cue is the currently active cue: |
| 9 EXPECTED ([object TextTrackCue] == '[object TextTrackCue]') OK | 9 EXPECTED ([object VTTCue] == '[object VTTCue]') OK |
| 10 EXPECTED (currentCue.id == '1') OK | 10 EXPECTED (currentCue.id == '1') OK |
| 11 | 11 |
| 12 EVENT(exit) | 12 EVENT(exit) |
| 13 | 13 |
| 14 EVENT(enter) | 14 EVENT(enter) |
| 15 This cue is the currently active cue: | 15 This cue is the currently active cue: |
| 16 EXPECTED ([object TextTrackCue] == '[object TextTrackCue]') OK | 16 EXPECTED ([object VTTCue] == '[object VTTCue]') OK |
| 17 EXPECTED (currentCue.id == '2') OK | 17 EXPECTED (currentCue.id == '2') OK |
| 18 | 18 |
| 19 EVENT(exit) | 19 EVENT(exit) |
| 20 | 20 |
| 21 EVENT(enter) | 21 EVENT(enter) |
| 22 This cue is the currently active cue: | 22 This cue is the currently active cue: |
| 23 EXPECTED ([object TextTrackCue] == '[object TextTrackCue]') OK | 23 EXPECTED ([object VTTCue] == '[object VTTCue]') OK |
| 24 EXPECTED (currentCue.id == '3') OK | 24 EXPECTED (currentCue.id == '3') OK |
| 25 | 25 |
| 26 EVENT(exit) | 26 EVENT(exit) |
| 27 | 27 |
| 28 END OF TEST | 28 END OF TEST |
| 29 | 29 |
| OLD | NEW |