| OLD | NEW | 
|---|
| 1 <html> | 1 <html> | 
| 2 <body> | 2 <body> | 
| 3     <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 3     <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 | 
| 4          (Please avoid writing new tests using video-test.js) --> | 4          (Please avoid writing new tests using video-test.js) --> | 
| 5     <script src=video-test.js></script> | 5     <script src=video-test.js></script> | 
| 6 | 6 | 
| 7     <script> | 7     <script> | 
| 8         mediaElement.addEventListener('loadedmetadata', function() { | 8         mediaElement.addEventListener('loadedmetadata', function() { | 
| 9             failTest("'loadedmetadata' event fired" ); | 9             failTest("'loadedmetadata' event fired" ); | 
| 10         }, true); | 10         }, true); | 
| 11 | 11 | 
| 12         waitForEvent('loadstart', function () { | 12         waitForEvent('loadstart', function () { | 
| 13             findMediaElement(); | 13             findMediaElement(); | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
| 26 | 26 | 
| 27     <video src=content/bogus.mpeg controls> | 27     <video src=content/bogus.mpeg controls> | 
| 28         <source src=content/test.mp4> | 28         <source src=content/test.mp4> | 
| 29     </video> | 29     </video> | 
| 30 | 30 | 
| 31 <p>Test that a <source> element is not used when a bogus 'src' attribute i
    s present | 31 <p>Test that a <source> element is not used when a bogus 'src' attribute i
    s present | 
| 32 </p> | 32 </p> | 
| 33 | 33 | 
| 34 </body> | 34 </body> | 
| 35 </html> | 35 </html> | 
| OLD | NEW | 
|---|