OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <title>Test mediaPlayerRequestFullscreen() without a user gesture.</titl
e> | |
5 <script src=media-file.js></script> | |
6 <script src=video-test.js></script> | |
7 </head> | |
8 <body> | |
9 <p>Test mediaPlayerRequestFullscreen() without a user gesture.</p> | |
10 <video controls></video> | |
11 <script> | |
12 findMediaElement(); | |
13 video.src = findMediaFile("video", "content/test"); | |
14 waitForEvent('loadedmetadata', function() | |
15 { | |
16 internals.mediaPlayerRequestFullscreen(video); | |
17 waitForEvent('webkitfullscreenchange', endTest); | |
18 waitForEventAndFail('webkitfullscreenerror'); | |
19 }); | |
20 </script> | |
21 </body> | |
22 </html> | |
OLD | NEW |