blob: c064aa206b425d056132dd328013c6ed583ac1c3 [file] [log] [blame]
<body onload='parent.postMessage("onload", "*");'>
iframe2<br>
Manual test: click here.
<script src="../full-screen-test.js"></script>
<script>
document.body.onclick = function() {
document.body.webkitRequestFullScreen();
};
waitForEvent(document, 'webkitfullscreenchange', function() {
parent.postMessage("SUCCEED - entered full screen!", "*");
});
</script>
</body>