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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-sourcebufferlist-crash.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, 6 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 <script src="/js-test-resources/js-test.js"></script> 4 <script src="/js-test-resources/js-test.js"></script>
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 5 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
6 (Please avoid writing new tests using video-test.js) --> 6 (Please avoid writing new tests using video-test.js) -->
7 <script src="/media-resources/video-test.js"></script> 7 <script src="/media-resources/video-test.js"></script>
8 <script type="text/javascript"> 8 <script type="text/javascript">
9 function onSourceOpen(e) 9 function onSourceOpen(e)
10 { 10 {
11 consoleWrite("Calling addSourceBuffer()"); 11 consoleWrite("Calling addSourceBuffer()");
12 e.target.addSourceBuffer('video/webm;codecs="vp8"'); 12 e.target.addSourceBuffer('video/webm;codecs="vp8"');
13 13
14 consoleWrite("Running garbage collector to cleanup the SourceBuf fer reference returned by addSourceBuffer()"); 14 consoleWrite("Running garbage collector to cleanup the SourceBuf fer reference returned by addSourceBuffer()");
15 gc(); 15 gc();
(...skipping 17 matching lines...) Expand all
33 33
34 video.src = URL.createObjectURL(mediaSource); 34 video.src = URL.createObjectURL(mediaSource);
35 } 35 }
36 </script> 36 </script>
37 </head> 37 </head>
38 <body onload="main()"> 38 <body onload="main()">
39 <video id="v"></video> 39 <video id="v"></video>
40 <p>Verify that we don't crash on close if the MediaSource.sourceBuffers ho lds the last reference to its SourceBuffer objects.</p> 40 <p>Verify that we don't crash on close if the MediaSource.sourceBuffers ho lds the last reference to its SourceBuffer objects.</p>
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698