OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 4 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
5 (Please avoid writing new tests using video-test.js) --> | 5 (Please avoid writing new tests using video-test.js) --> |
6 <script src="video-test.js" type="text/javascript"></script> | 6 <script src="video-test.js" type="text/javascript"></script> |
7 <script> | 7 <script> |
8 function setup() | 8 function setup() |
9 { | 9 { |
10 if (!window.testRunner) { | 10 if (!window.testRunner) { |
11 consoleWrite("This test only works in DRT."); | 11 consoleWrite("This test only works in DRT."); |
12 return; | 12 return; |
13 } | 13 } |
14 | 14 |
(...skipping 16 matching lines...) Expand all Loading... |
31 | 31 |
32 <iframe sandbox="allow-same-origin" src="resources/video-controls-no-scr
ipting-iframe.html" id="fr" style="width: 400px; height: 320px; border: 1px soli
d black;"></iframe> | 32 <iframe sandbox="allow-same-origin" src="resources/video-controls-no-scr
ipting-iframe.html" id="fr" style="width: 400px; height: 320px; border: 1px soli
d black;"></iframe> |
33 | 33 |
34 <p>Tests that the built-in controls are always enabled when JavaScript i
s disabled.</p> | 34 <p>Tests that the built-in controls are always enabled when JavaScript i
s disabled.</p> |
35 <pre id="console"></pre> | 35 <pre id="console"></pre> |
36 <script> | 36 <script> |
37 document.getElementById("fr").onload = setup; | 37 document.getElementById("fr").onload = setup; |
38 </script> | 38 </script> |
39 </body> | 39 </body> |
40 </html> | 40 </html> |
OLD | NEW |