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 | 9 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
10 (Please avoid writing new tests using video-test.js) --> | 10 (Please avoid writing new tests using video-test.js) --> |
11 <script src=/media-resources/video-test.js></script> | 11 <script src=/media-resources/video-test.js></script> |
12 <script> | 12 <script> |
13 var test; | 13 var test; |
14 | 14 |
15 function unexpectedEvent(event) | 15 function unexpectedEvent(event) |
16 { | 16 { |
17 failTest(false, '<br>Unexpected "' + event.type + '" event!!'); | 17 failTest(false, '<br>Unexpected "' + event.type + '" event!!'); |
18 } | 18 } |
19 | 19 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 </script> | 95 </script> |
96 | 96 |
97 </head> | 97 </head> |
98 <body> | 98 <body> |
99 | 99 |
100 <video controls ></video> | 100 <video controls ></video> |
101 | 101 |
102 <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> |
103 </body> | 103 </body> |
104 </html> | 104 </html> |
OLD | NEW |