OLD | NEW |
| (Empty) |
1 Tests that added cue object wrappers live across garbage collections. | |
2 | |
3 EXPECTED (video.textTracks.hasOwnProperty('custom') == 'true') OK | |
4 ** Add a text track to the video element ** | |
5 EXPECTED (track.hasOwnProperty('custom') == 'true') OK | |
6 ** Add cues with own native property to the track with enter event listener. ** | |
7 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
8 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
9 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
10 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
11 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
12 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
13 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
14 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
15 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
16 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
17 | |
18 ** Trigger a garbage collection. ** | |
19 EXPECTED (video.textTracks.hasOwnProperty('custom') == 'true') OK | |
20 EXPECTED (track.hasOwnProperty('custom') == 'true') OK | |
21 | |
22 ** Play the video and test cue wrappers. ** | |
23 RUN(video.play()) | |
24 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
25 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
26 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
27 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
28 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
29 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
30 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
31 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
32 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
33 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK | |
34 END OF TEST | |
35 | |
OLD | NEW |