| OLD | NEW | 
|   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  Loading... | 
|  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> | 
| OLD | NEW |