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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-garbage-collection-before-sourceopen.html

Issue 2015503002: Move TODO(philipj) to TODO(foolip) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 4 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
5 (Please avoid writing new tests using video-test.js) --> 5 (Please avoid writing new tests using video-test.js) -->
6 <script src="/media-resources/video-test.js"></script> 6 <script src="/media-resources/video-test.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <video autoplay controls="controls" id='vid'></video> 9 <video autoplay controls="controls" id='vid'></video>
10 <p>Tests that sourceopen event fires even if garbage collection happens between setting video.src &amp; the sourceopen event.</p> 10 <p>Tests that sourceopen event fires even if garbage collection happens between setting video.src &amp; the sourceopen event.</p>
11 <script type="text/javascript"> 11 <script type="text/javascript">
12 var sourceOpened = false; 12 var sourceOpened = false;
13 13
14 function createMediaSourceURL() 14 function createMediaSourceURL()
(...skipping 26 matching lines...) Expand all
41 consoleWrite("Running garbage collector."); 41 consoleWrite("Running garbage collector.");
42 gc(); 42 gc();
43 43
44 consoleWrite("Setting video.src to object URL."); 44 consoleWrite("Setting video.src to object URL.");
45 video.src = url; 45 video.src = url;
46 } 46 }
47 start(); 47 start();
48 </script> 48 </script>
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698