| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html manifest="resources/video.manifest"> | 2 <html manifest="resources/video.manifest"> |
| 3 <head> | 3 <head> |
| 4 <title>test media in the app cache</title> | 4 <title>test media in the app cache</title> |
| 5 <style> | 5 <style> |
| 6 video { background-color: yellow; width: 320px; height: 240px; } | 6 video { background-color: yellow; width: 320px; height: 240px; } |
| 7 </style> | 7 </style> |
| 8 <script src=/media-resources/media-file.js></script> | 8 <script src=/media-resources/media-file.js></script> |
| 9 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 10 (Please avoid writing new tests using video-test.js) --> |
| 9 <script src=/media-resources/video-test.js></script> | 11 <script src=/media-resources/video-test.js></script> |
| 10 <script> | 12 <script> |
| 11 var test; | 13 var test; |
| 12 | 14 |
| 13 function unexpectedEvent(event) | 15 function unexpectedEvent(event) |
| 14 { | 16 { |
| 15 failTest(false, '<br>Unexpected "' + event.type + '" event!!'); | 17 failTest(false, '<br>Unexpected "' + event.type + '" event!!'); |
| 16 } | 18 } |
| 17 | 19 |
| 18 function errorEvent() | 20 function errorEvent() |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 </script> | 95 </script> |
| 94 | 96 |
| 95 </head> | 97 </head> |
| 96 <body> | 98 <body> |
| 97 | 99 |
| 98 <video controls ></video> | 100 <video controls ></video> |
| 99 | 101 |
| 100 <p>Test that <video> can be loaded from the application cache.</p> | 102 <p>Test that <video> can be loaded from the application cache.</p> |
| 101 </body> | 103 </body> |
| 102 </html> | 104 </html> |
| 103 | |
| OLD | NEW |