OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 | 5 |
6 <script src=media-file.js></script> | 6 <script src=media-file.js></script> |
7 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 7 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
8 (Please avoid writing new tests using video-test.js) --> | 8 (Please avoid writing new tests using video-test.js) --> |
9 <script src=video-test.js></script> | 9 <script src=video-test.js></script> |
10 <script src=media-controls.js></script> | 10 <script src=media-controls.js></script> |
11 <script> | 11 <script> |
12 | 12 |
13 function canplaythrough() | 13 function canplaythrough() |
14 { | 14 { |
15 consoleWrite("<br>** Initial state: no text tracks, controls sho
uld not be visible **"); | 15 consoleWrite("<br>** Initial state: no text tracks, controls sho
uld not be visible **"); |
16 testExpected("video.textTracks.length", 0); | 16 testExpected("video.textTracks.length", 0); |
17 testExpected("video.controls", false, '=='); | 17 testExpected("video.controls", false, '=='); |
(...skipping 24 matching lines...) Expand all Loading... |
42 } | 42 } |
43 | 43 |
44 </script> | 44 </script> |
45 </head> | 45 </head> |
46 <body onload="start()"> | 46 <body onload="start()"> |
47 <video> | 47 <video> |
48 </video> | 48 </video> |
49 <p>Tests that adding a text track does not make controls visible.</p> | 49 <p>Tests that adding a text track does not make controls visible.</p> |
50 </body> | 50 </body> |
51 </html> | 51 </html> |
OLD | NEW |