OLD | NEW |
1 Tests that removing an active cue does not crash the browser. | 1 Tests that removing an active cue does not crash the browser. |
2 | 2 |
3 ** Add a text track to the video element ** | 3 ** Add a text track to the video element ** |
4 ** Add a cue to the track with enter event listener. ** | 4 ** Add a cue to the track with enter event listener. ** |
5 | 5 |
6 ** Play the video and remove cue when it becomes active. ** | 6 ** Play the video and remove cue when it becomes active. ** |
7 RUN(video.play()) | 7 RUN(video.play()) |
8 EXPECTED (video.textTracks[0].activeCues.length == '1') OK | 8 EXPECTED (video.textTracks[0].activeCues.length == '1') OK |
9 | 9 |
10 ** Remove the cue while it is active ** | 10 ** Remove the cue while it is active ** |
11 | 11 |
12 No crash. PASS. | 12 No crash. PASS. |
13 | 13 |
14 END OF TEST | 14 END OF TEST |
15 | 15 |
OLD | NEW |