OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src=media-file.js></script> | 3 <script src=media-file.js></script> |
| 4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 5 (Please avoid writing new tests using video-test.js) --> |
4 <script src=video-test.js></script> | 6 <script src=video-test.js></script> |
5 | 7 |
6 <script> | 8 <script> |
7 | 9 |
8 function canplaythrough() | 10 function canplaythrough() |
9 { | 11 { |
10 consoleWrite("++ Test after 'canplaythrough' event"); | 12 consoleWrite("++ Test after 'canplaythrough' event"); |
11 testExpected("mediaElement.getAttribute('preload')", "auto"); | 13 testExpected("mediaElement.getAttribute('preload')", "auto"); |
12 testExpected("mediaElement.preload", "auto"); | 14 testExpected("mediaElement.preload", "auto"); |
13 endTest(); | 15 endTest(); |
(...skipping 16 matching lines...) Expand all Loading... |
30 consoleWrite(""); | 32 consoleWrite(""); |
31 } | 33 } |
32 | 34 |
33 </script> | 35 </script> |
34 </head> | 36 </head> |
35 | 37 |
36 <body onload="start()"> | 38 <body onload="start()"> |
37 <p>Test that Audio() sets 'preload' attribute.</p> | 39 <p>Test that Audio() sets 'preload' attribute.</p> |
38 </body> | 40 </body> |
39 </html> | 41 </html> |
OLD | NEW |