| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src=media-file.js></script> | 3 <script src=media-file.js></script> |
| 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=video-test.js></script> | 6 <script src=video-test.js></script> |
| 7 | 7 |
| 8 | 8 |
| 9 <script> | 9 <script> |
| 10 function loadedmetadata() | 10 function loadedmetadata() |
| 11 { | 11 { |
| 12 failTest(relativeURL(video.currentSrc) + "loaded but should not"
); | 12 failTest(relativeURL(video.currentSrc) + "loaded but should not"
); |
| 13 consoleWrite(""); | 13 consoleWrite(""); |
| 14 } | 14 } |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 <video controls></video> | 47 <video controls></video> |
| 48 | 48 |
| 49 <p>Test that removing 'src' attribute does NOT trigger load of <source>
; elements</p> | 49 <p>Test that removing 'src' attribute does NOT trigger load of <source>
; elements</p> |
| 50 | 50 |
| 51 <script> | 51 <script> |
| 52 | 52 |
| 53 </script> | 53 </script> |
| 54 | 54 |
| 55 </body> | 55 </body> |
| 56 </html> | 56 </html> |
| OLD | NEW |