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 if (window.testRunner) { | 10 if (window.testRunner) { |
9 testRunner.dumpAsText(); | 11 testRunner.dumpAsText(); |
10 testRunner.waitUntilDone(); | 12 testRunner.waitUntilDone(); |
11 } | 13 } |
12 | 14 |
13 function log(msg) | 15 function log(msg) |
14 { | 16 { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 function start() | 96 function start() |
95 { | 97 { |
96 setSrcByTagName("audio", findMediaFile("audio", "content/test"))
; | 98 setSrcByTagName("audio", findMediaFile("audio", "content/test"))
; |
97 } | 99 } |
98 | 100 |
99 </script> | 101 </script> |
100 </head> | 102 </head> |
101 <body onload="start()"> | 103 <body onload="start()"> |
102 This tests that events don't continue to target a slider thumb if the me
dia element is deleted while scrubbing. | 104 This tests that events don't continue to target a slider thumb if the me
dia element is deleted while scrubbing. |
103 <br> | 105 <br> |
104 <input type="button" id="button" value="Click Me!" onmouseup="log('butto
n click!')"> | 106 <input type="button" id="button" value="Click Me!" onmouseup="log('butto
n click!')"> |
105 <br> | 107 <br> |
106 <audio id="audio" autoplay onplaying="drag()" controls></audio><br><br> | 108 <audio id="audio" autoplay onplaying="drag()" controls></audio><br><br> |
107 <div id="console"></div> | 109 <div id="console"></div> |
108 </body> | 110 </body> |
109 </html> | 111 </html> |
OLD | NEW |