OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <video id="video" allowfullscreen></video> | 2 <video id="video" allowfullscreen></video> |
3 <script> | 3 <script> |
4 if (window.internals) | 4 if (window.internals) |
5 runPixelTests = true; | 5 runPixelTests = true; |
6 </script> | 6 </script> |
7 <script src="../../../fullscreen/full-screen-test.js"></script> | 7 <script src="../../../fullscreen/full-screen-test.js"></script> |
8 <script> | 8 <script> |
9 var video = document.getElementById('video'); | 9 var video = document.getElementById('video'); |
10 | 10 |
11 waitForEvent(document, 'webkitfullscreenchange', function() | 11 waitForEvent(document, 'webkitfullscreenchange', function() |
12 { | 12 { |
13 endTest(); | 13 endTest(); |
14 }); | 14 }); |
15 | 15 |
16 runWithKeyDown(function() | 16 runWithKeyDown(function() |
17 { | 17 { |
18 video.webkitRequestFullScreen(); | 18 video.webkitRequestFullScreen(); |
19 }); | 19 }); |
20 </script> | 20 </script> |
21 | 21 |
OLD | NEW |