https://bugs.webkit.org/show_bug.cgi?id=139779
[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         };
9         waitForEvent(document, 'webkitfullscreenchange', function() {
10             parent.postMessage("SUCCEED - entered full screen!", "*");
11         });
12     </script>
13 </body>