OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test that the controls attribute is not affected by fullscreen</t
itle> | 4 <title>Test that the controls attribute is not affected by fullscreen</t
itle> |
5 <script src="media-file.js"></script> | 5 <script src="media-file.js"></script> |
6 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 6 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
7 (Please avoid writing new tests using video-test.js) --> | 7 (Please avoid writing new tests using video-test.js) --> |
8 <script src="video-test.js"></script> | 8 <script src="video-test.js"></script> |
9 <script> | 9 <script> |
10 function start() | 10 function start() |
11 { | 11 { |
12 findMediaElement(); | 12 findMediaElement(); |
13 video.src = findMediaFile("video", "content/test"); | 13 video.src = findMediaFile("video", "content/test"); |
14 waitForEvent("loadeddata", loadeddata); | 14 waitForEvent("loadeddata", loadeddata); |
15 } | 15 } |
16 | 16 |
(...skipping 14 matching lines...) Expand all Loading... |
31 testExpected("video.controls", false); | 31 testExpected("video.controls", false); |
32 endTest(); | 32 endTest(); |
33 } | 33 } |
34 </script> | 34 </script> |
35 </head> | 35 </head> |
36 <body onload="start()"> | 36 <body onload="start()"> |
37 <p>Test that the controls attribute is not affected by fullscreen</p> | 37 <p>Test that the controls attribute is not affected by fullscreen</p> |
38 <video></video> | 38 <video></video> |
39 </body> | 39 </body> |
40 </html> | 40 </html> |
OLD | NEW |