Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Side by Side Diff: LayoutTests/media/track/tracklist-is-reachable.html

Issue 211933008: Remove multiple GC calls and replace GCController.collect calls with GCController.collectAll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert change to worker-event-listener Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « LayoutTests/media/track/text-track-is-reachable.html ('k') | LayoutTests/plugins/multiple-plugins.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698