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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-gc-after-decode-error-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 <!-- 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 <p>Verifies that a MediaSource decode error followed by a gc() and page reload does not trigger a crash.</p> 9 <p>Verifies that a MediaSource decode error followed by a gc() and page reload does not trigger a crash.</p>
10 <video></video> 10 <video></video>
11 <script> 11 <script>
12 function onSourceOpen(e) 12 function onSourceOpen(e)
13 { 13 {
14 consoleWrite("onSourceOpen"); 14 consoleWrite("onSourceOpen");
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 (function() 54 (function()
55 { 55 {
56 var ms = new MediaSource(); 56 var ms = new MediaSource();
57 ms.addEventListener("sourceopen", onSourceOpen); 57 ms.addEventListener("sourceopen", onSourceOpen);
58 document.querySelector("video").src = URL.createObjectURL(ms); 58 document.querySelector("video").src = URL.createObjectURL(ms);
59 })(); 59 })();
60 </script> 60 </script>
61 </body> 61 </body>
62 </html> 62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698