1 <script src=
"full-screen-test.js"></script>
3 Test passes if it doesn't crash.
4 <span><span id=
"toBeMadeFullScreen"></span></span>
8 // Use window.eventSender to fake a user-action, allowing full-screen.
9 document
.addEventListener("keypress", function() {
10 toBeMadeFullScreen
.webkitRequestFullScreen();
12 eventSender
.keyDown(" ", []);
14 document
.addEventListener("webkitfullscreenchange", function() {
15 toBeMadeFullScreen
.parentNode
.insertBefore(document
.createElement('div'), toBeMadeFullScreen
);
16 setTimeout(endTest(), 0);