OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test the prefixed HTMLVideoElement fullscreen API</title> | 4 <title>Test the prefixed HTMLVideoElement fullscreen API</title> |
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 testExpected("video.webkitSupportsFullscreen", true); | 13 testExpected("video.webkitSupportsFullscreen", true); |
14 testExpected("video.webkitDisplayingFullscreen", false); | 14 testExpected("video.webkitDisplayingFullscreen", false); |
15 video.src = findMediaFile("video", "content/test"); | 15 video.src = findMediaFile("video", "content/test"); |
16 waitForEvent("loadeddata", loadeddata); | 16 waitForEvent("loadeddata", loadeddata); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 testExpected("video.webkitDisplayingFullscreen", false); | 51 testExpected("video.webkitDisplayingFullscreen", false); |
52 endTest(); | 52 endTest(); |
53 } | 53 } |
54 </script> | 54 </script> |
55 </head> | 55 </head> |
56 <body onload="start()"> | 56 <body onload="start()"> |
57 <p>Test the prefixed HTMLVideoElement fullscreen API</p> | 57 <p>Test the prefixed HTMLVideoElement fullscreen API</p> |
58 <video></video> | 58 <video></video> |
59 </body> | 59 </body> |
60 </html> | 60 </html> |
OLD | NEW |