OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 3 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
4 (Please avoid writing new tests using video-test.js) --> | 4 (Please avoid writing new tests using video-test.js) --> |
5 <script src=video-test.js></script> | 5 <script src=video-test.js></script> |
6 <script src=media-file.js></script> | 6 <script src=media-file.js></script> |
7 <script> | 7 <script> |
8 var mediaFile; | 8 var mediaFile; |
9 var loadedCount = 0; | 9 var loadedCount = 0; |
10 var errorCount = 0; | 10 var errorCount = 0; |
11 | 11 |
12 function errorEvent() | 12 function errorEvent() |
13 { | 13 { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 <video controls" ></video> | 62 <video controls" ></video> |
63 | 63 |
64 <p> | 64 <p> |
65 1. Test that an invalid src attribute fires an error when the file fails to
load.<br> | 65 1. Test that an invalid src attribute fires an error when the file fails to
load.<br> |
66 2. Test that changing src attribute triggers load after a load fails.<br> | 66 2. Test that changing src attribute triggers load after a load fails.<br> |
67 3. Test that changing src triggers load once a file is known to be valid. | 67 3. Test that changing src triggers load once a file is known to be valid. |
68 </p> | 68 </p> |
69 | 69 |
70 </body> | 70 </body> |
71 </html> | 71 </html> |
OLD | NEW |