Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Ensure that a TrackList won't be collected if it has custom properties. | |
| 2 | |
| 3 ** Add a custom property to a track. | |
| 4 EXPECTED (video.textTracks.length == '1') OK | |
| 5 RUN(video.textTracks.myProperty = 'chicken salad!') | |
| 6 EXPECTED (video.textTracks.length == '1') OK | |
| 7 EXPECTED (video.textTracks.myProperty == 'chicken salad!') OK | |
| 8 | |
| 9 ** Force garbage collection. | |
| 10 EXPECTED (video.textTracks.length == '1') OK | |
| 11 EXPECTED (video.textTracks.myProperty == 'chicken salad!') OK | |
| 12 | |
| 13 END OF TEST | |
| 14 | |
| OLD | NEW |