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

Side by Side Diff: LayoutTests/media/track/text-track-cue-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, 9 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=../video-test.js></script> 6 <script src=../video-test.js></script>
7 <script> 7 <script>
8 8
9 function forceGC() 9 function forceGC()
10 { 10 {
11 if (window.GCController) 11 if (window.GCController)
12 return GCController.collect(); 12 return GCController.collectAll();
13 13
14 // Force garbage collection 14 // Force garbage collection
15 for (var ndx = 0; ndx < 99000; ndx++) 15 for (var ndx = 0; ndx < 99000; ndx++)
16 var str = new String("1234"); 16 var str = new String("1234");
17 } 17 }
18 18
19 function trackLoaded() 19 function trackLoaded()
20 { 20 {
21 findMediaElement(); 21 findMediaElement();
22 22
(...skipping 16 matching lines...) Expand all
39 39
40 </script> 40 </script>
41 </head> 41 </head>
42 <body> 42 <body>
43 <p>Ensure that a TextTrackCue won't be collected if it has a custom prop erty.</p> 43 <p>Ensure that a TextTrackCue won't be collected if it has a custom prop erty.</p>
44 <video> 44 <video>
45 <track src="captions-webvtt/tc013-settings.vtt" kind="captions" onlo ad="trackLoaded()" default> 45 <track src="captions-webvtt/tc013-settings.vtt" kind="captions" onlo ad="trackLoaded()" default>
46 </video> 46 </video>
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698