OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src=media-file.js></script> | 4 <script src=media-file.js></script> |
| 5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 6 (Please avoid writing new tests using video-test.js) --> |
5 <script src=video-test.js></script> | 7 <script src=video-test.js></script> |
6 <script src=media-controls.js></script> | 8 <script src=media-controls.js></script> |
7 <script> | 9 <script> |
8 var video; | 10 var video; |
9 | 11 |
10 function init() | 12 function init() |
11 { | 13 { |
12 video = document.getElementsByTagName("video")[0]; | 14 video = document.getElementsByTagName("video")[0]; |
13 video.src = findMediaFile("video", "content/test"); | 15 video.src = findMediaFile("video", "content/test"); |
14 | 16 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 } | 62 } |
61 </script> | 63 </script> |
62 </head> | 64 </head> |
63 <body onload="init()"> | 65 <body onload="init()"> |
64 <p>This tests that media element controls are reset to their default sta
te when the src is changed to an invalid url.</p> | 66 <p>This tests that media element controls are reset to their default sta
te when the src is changed to an invalid url.</p> |
65 <p>This test only runs in DRT!</p> | 67 <p>This test only runs in DRT!</p> |
66 <video controls></video> | 68 <video controls></video> |
67 <div id="console"></div> | 69 <div id="console"></div> |
68 </body> | 70 </body> |
69 </html> | 71 </html> |
OLD | NEW |