blob: aac695e25e76ff55247c5b2521f3b84d48fb7272 [file] [log] [blame]
<body>
<script src="full-screen-test.js"></script>
<script>
// Bail out early if the full screen API is not enabled or is missing:
if (Element.prototype.webkitRequestFullScreen == undefined) {
logResult(false, "Element.prototype.webkitRequestFullScreen == undefined");
endTest();
} else {
waitForEventTestAndEnd(document, 'webkitfullscreenchange', "document.webkitIsFullScreen==true");
runWithKeyDown(function(){document.documentElement.webkitRequestFullScreen()});
}
</script>