Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / resources / onbeforeunload-focused-iframe-frame.html
blobaf68a8ed3379682be584257a053eca7a112c346a
1 <html>
2 <body onload="load()">
3 This frame should get the focus.
4 <input id="box"></input>
5 <script>
6 function load()
8 document.getElementById("box").focus();
9 window.top.simulateCloseWindow();
11 </script>
12 </body>
13 </html>