| OLD | NEW | 
|   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 src="/w3c/resources/testharness.js"></script> |   8       <script src="/w3c/resources/testharness.js"></script> | 
|   9       <script src="/w3c/resources/testharnessreport.js"></script> |   9       <script src="/w3c/resources/testharnessreport.js"></script> | 
|  10       <script src="mediasource-util.js"></script> |  10       <script src="mediasource-util.js"></script> | 
|  11     </head> |  11     </head> | 
|  12     <body> |  12     <body> | 
|  13       <div id="log"></div> |  13       <div id="log"></div> | 
|  14       <script> |  14       <script> | 
|  15           window.jsTestIsAsync = true; |  15           window.jsTestIsAsync = true; | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
|  41                   test.done(); |  41                   test.done(); | 
|  42               } |  42               } | 
|  43  |  43  | 
|  44               ms.addEventListener("sourceopen", test.step_func(sourceOpened)); |  44               ms.addEventListener("sourceopen", test.step_func(sourceOpened)); | 
|  45               video.addEventListener("durationchange", test.step_func(durationCh
    anged)); |  45               video.addEventListener("durationchange", test.step_func(durationCh
    anged)); | 
|  46               video.src = window.URL.createObjectURL(ms); |  46               video.src = window.URL.createObjectURL(ms); | 
|  47           }, "Tests that the MediaSource keeps the HTMLMediaElement alive."); |  47           }, "Tests that the MediaSource keeps the HTMLMediaElement alive."); | 
|  48       </script> |  48       </script> | 
|  49     </body> |  49     </body> | 
|  50 </html> |  50 </html> | 
| OLD | NEW |