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 | 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> | 8 <script> |
9 function loadedmetadata(e) | 9 function loadedmetadata(e) |
10 { | 10 { |
11 consoleWrite("loaded metadata of media file"); | 11 consoleWrite("loaded metadata of media file"); |
12 } | 12 } |
13 | 13 |
14 function error(e) | 14 function error(e) |
15 { | 15 { |
(...skipping 16 matching lines...) Expand all Loading... |
32 } | 32 } |
33 </script> | 33 </script> |
34 </head> | 34 </head> |
35 <body onload="start()"> | 35 <body onload="start()"> |
36 <video id="video"></video> | 36 <video id="video"></video> |
37 <p> | 37 <p> |
38 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/> |
39 </p> | 39 </p> |
40 </body> | 40 </body> |
41 </html> | 41 </html> |
OLD | NEW |