OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>'abort' event test</title> | 4 <title>'abort' event test</title> |
5 <script src=../../media-resources/media-file.js></script> | 5 <script src=../../media-resources/media-file.js></script> |
6 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 6 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
7 (Please avoid writing new tests using video-test.js) --> | 7 (Please avoid writing new tests using video-test.js) --> |
8 <script src=../../media-resources/video-test.js></script> | 8 <script src=../../media-resources/video-test.js></script> |
9 <script> | 9 <script> |
10 var didLoad = false; | 10 var didLoad = false; |
11 | 11 |
12 function loadstart() | 12 function loadstart() |
13 { | 13 { |
14 consoleWrite("<br><b><em>'loadstart'</em> event</b>"); | 14 consoleWrite("<br><b><em>'loadstart'</em> event</b>"); |
15 testExpected("video.error", null); | 15 testExpected("video.error", null); |
16 | 16 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 </head> | 58 </head> |
59 | 59 |
60 <body onload="start()"> | 60 <body onload="start()"> |
61 <video controls | 61 <video controls |
62 onloadstart="loadstart()" | 62 onloadstart="loadstart()" |
63 onabort="abort()" | 63 onabort="abort()" |
64 oncanplaythrough="canplaythrough()" | 64 oncanplaythrough="canplaythrough()" |
65 ></video> | 65 ></video> |
66 </body> | 66 </body> |
67 </html> | 67 </html> |
OLD | NEW |