2 <script src="full-screen-test.js"></script>
4 // Bail out early if the full screen API is not enabled or is missing:
5 if (Element.prototype.webkitRequestFullScreen == undefined) {
6 logResult(false, "Element.prototype.webkitRequestFullScreen == undefined");
9 waitForEventTestAndEnd(document, 'webkitfullscreenchange', "document.webkitIsFullScreen==true");
10 runWithKeyDown(function(){document.documentElement.webkitRequestFullScreen()});