<body> <script src="full-screen-test.js"></script> <script> waitForEventTestAndEnd(document, 'webkitfullscreenchange', "document.webkitIsFullScreen==true"); runWithKeyDown(function(){document.documentElement.webkitRequestFullScreen()}); </script>