OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 var urls = [ | 4 var urls = [ |
5 "file:///does not exist oh noes/test.mp4", | 5 "file:///does not exist oh noes/test.mp4", |
6 "../LayoutTests/media/content/test-25fps.mp4" | 6 "../LayoutTests/media/content/test-25fps.mp4" |
7 ]; | 7 ]; |
8 var kickoffFunctions = [ | 8 var kickoffFunctions = [ |
9 "load", | 9 "load", |
10 "play" | 10 "play" |
(...skipping 20 matching lines...) Expand all Loading... |
31 } | 31 } |
32 </script> | 32 </script> |
33 </head> | 33 </head> |
34 <body onload="setInterval('releaseAndAddMediaElements()', 100)"> | 34 <body onload="setInterval('releaseAndAddMediaElements()', 100)"> |
35 Test that media players aren't leaked on error. | 35 Test that media players aren't leaked on error. |
36 Load this page and verify the number of threads used by the browser doesn't | 36 Load this page and verify the number of threads used by the browser doesn't |
37 seem unreasonable (e.g. chrome uses 4-5 threads per video tag so staying | 37 seem unreasonable (e.g. chrome uses 4-5 threads per video tag so staying |
38 under 100 threads is "success", since this instantiates 20 <video> ele
ments). | 38 under 100 threads is "success", since this instantiates 20 <video> ele
ments). |
39 </body> | 39 </body> |
40 </html> | 40 </html> |
OLD | NEW |