Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / test / data / popup_blocker / popup-blocked-to-post-blank.html
blob29ed23d3c61a1c1b45e5a4db6c302d93f7fed27a
1 <html>
2 <head>
3 <title>Popup Blocked Post Blank</title>
4 <script>
5 function test() {
6 // We rely on sequential ordering of POST processing.
7 var form = document.getElementById('form');
8 form.submit();
10 </script>
11 </head>
12 <body onload="test()">
13 If the POST pop-up was not blocked then there will be an warning message displayed in a new tab. Otherwise, the test passes.
14 <form id="form" method="post" action="data:text/html,<title>Popup Success!</title>you should not see this message if popup blocker is enabled" target="_blank">
15 <input type="submit" value="Submit to new window"/>
16 </form>
17 </body>
18 </html>