OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 | 5 |
6 <script src=../media-file.js></script> | 6 <script src=../media-file.js></script> |
7 <script src=../video-test.js></script> | 7 <script src=../video-test.js></script> |
8 <script> | 8 <script> |
9 | 9 |
10 function forceGC() | 10 function forceGC() |
11 { | 11 { |
12 if (window.GCController) | 12 if (window.GCController) |
13 return GCController.collect(); | 13 return GCController.collectAll(); |
14 | 14 |
15 // Force garbage collection | 15 // Force garbage collection |
16 for (var ndx = 0; ndx < 99000; ndx++) | 16 for (var ndx = 0; ndx < 99000; ndx++) |
17 var str = new String("1234"); | 17 var str = new String("1234"); |
18 } | 18 } |
19 | 19 |
20 function start() | 20 function start() |
21 { | 21 { |
22 findMediaElement(); | 22 findMediaElement(); |
23 | 23 |
(...skipping 14 matching lines...) Expand all Loading... |
38 | 38 |
39 </script> | 39 </script> |
40 </head> | 40 </head> |
41 <body onload="start()"> | 41 <body onload="start()"> |
42 <p>Ensure that a TrackList won't be collected if it has custom propertie
s.</p> | 42 <p>Ensure that a TrackList won't be collected if it has custom propertie
s.</p> |
43 <video> | 43 <video> |
44 <track> | 44 <track> |
45 </video> | 45 </video> |
46 </body> | 46 </body> |
47 </html> | 47 </html> |
OLD | NEW |