787997f37cdaec648895396f8a107e93fb646625
[WebKit-https.git] / LayoutTests / fullscreen / resources / full-screen-iframe-with-mixed-allow-webkitallow-iframe2.html
1 <body onload='parent.postMessage("onload", "*");'>
2     iframe2<br>
3     Manual test: click here.
4     <script src="../full-screen-test.js"></script>
5     <script>
6         document.body.onclick = function() {
7             document.body.webkitRequestFullScreen();
8             setTimeout(function() {
9                 parent.postMessage("FAIL - did not enter full screen!", "*");
10             }, 50);
11         };
12         waitForEvent(document, 'webkitfullscreenchange', function() {
13             parent.postMessage("SUCCEED - entered full screen!", "*");
14         });
15     </script>
16 </body>