OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Loading corrupted video with proper metadata</title> | 3 <title>Loading corrupted video with proper metadata</title> |
4 <script src=../../../media-resources/media-file.js></script> | 4 <script src=../../../media-resources/media-file.js></script> |
| 5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 6 (Please avoid writing new tests using video-test.js) --> |
5 <script src=../../../media-resources/video-test.js></script> | 7 <script src=../../../media-resources/video-test.js></script> |
6 <script> | 8 <script> |
7 function loadedmetadata(e) | 9 function loadedmetadata(e) |
8 { | 10 { |
9 consoleWrite("loaded metadata of media file"); | 11 consoleWrite("loaded metadata of media file"); |
10 } | 12 } |
11 | 13 |
12 function error(e) | 14 function error(e) |
13 { | 15 { |
14 consoleWrite("failed to load media file"); | 16 consoleWrite("failed to load media file"); |
(...skipping 15 matching lines...) Expand all Loading... |
30 } | 32 } |
31 </script> | 33 </script> |
32 </head> | 34 </head> |
33 <body onload="start()"> | 35 <body onload="start()"> |
34 <video id="video"></video> | 36 <video id="video"></video> |
35 <p> | 37 <p> |
36 This test case simulates a decode error after loading meta data of a video.<br/>
<br/> | 38 This test case simulates a decode error after loading meta data of a video.<br/>
<br/> |
37 </p> | 39 </p> |
38 </body> | 40 </body> |
39 </html> | 41 </html> |
OLD | NEW |