Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / resources / full-screen-iframe-allowed-nested2.html
blob4523d54ec0cb6b2660022a239c18aa8894d50360
1 <!DOCTYPE html>
2 <body onload='parent.postMessage("onload", "*");'>
3 iframe2<br>
4 Manual test: click here.
5 <script src="../full-screen-test.js"></script>
6 <script>
7 window.onclick = function() {
8 document.body.webkitRequestFullScreen();
9 };
10 waitForEvent(document, 'webkitfullscreenchange', function() {
11 parent.postMessage("SUCCEED - entered full screen!", "*");
12 });
13 </script>
14 </body>