OLD | NEW |
1 <html lang="en"> | 1 <html lang="en"> |
2 <head> | 2 <head> |
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
4 <title><video> and <source> error test</title> | 4 <title><video> and <source> error test</title> |
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=video-test.js></script> | 7 <script src=video-test.js></script> |
8 | 8 |
9 <script> | 9 <script> |
10 | 10 |
11 var sources = []; | 11 var sources = []; |
12 var errorCount = 0; | 12 var errorCount = 0; |
13 var expectedErrorCount = 4; | 13 var expectedErrorCount = 4; |
14 | 14 |
15 function errorEvent(evt) | 15 function errorEvent(evt) |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 <source id=missing-src type="video/blahblah"> | 53 <source id=missing-src type="video/blahblah"> |
54 <source id=bogus-type src=content/test.ogv type="video/blahblah"> | 54 <source id=bogus-type src=content/test.ogv type="video/blahblah"> |
55 <source id=empty-src src="" type="video/ogg"> | 55 <source id=empty-src src="" type="video/ogg"> |
56 <source id=no-extension-no-type src=nonexistent> | 56 <source id=no-extension-no-type src=nonexistent> |
57 </video> | 57 </video> |
58 | 58 |
59 <p>Test that 'error' events are fired from <source> element when i
t can not be used.</p> | 59 <p>Test that 'error' events are fired from <source> element when i
t can not be used.</p> |
60 | 60 |
61 </body> | 61 </body> |
62 </html> | 62 </html> |
OLD | NEW |