| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>Popup Blocked Post Blank</title> | 3 <title>Popup Blocked Post Blank</title> |
| 4 <script> | 4 <script> |
| 5 function test() { | 5 function test() { |
| 6 // We rely on sequential ordering of POST processing. | 6 // We rely on sequential ordering of POST processing. |
| 7 var form = document.getElementById('form'); | 7 var form = document.getElementById('form'); |
| 8 form.submit(); | 8 form.submit(); |
| 9 } | 9 } |
| 10 </script> | 10 </script> |
| 11 </head> | 11 </head> |
| 12 <body onload="test()"> | 12 <body onload="test()"> |
| 13 If the POST pop-up was not blocked then there will be an warning message display
ed in a new tab. Otherwise, the test passes. | 13 If the POST pop-up was not blocked then there will be a warning message displaye
d in a new tab. Otherwise, the test passes. |
| 14 <form id="form" method="post" action="data:text/html,<title>Popup Success!</titl
e>you should not see this message if popup blocker is enabled" target="_blank"> | 14 <form id="form" method="post" action="popup-success.html" target="_blank"> |
| 15 <input type="submit" value="Submit to new window"/> | 15 <input type="submit" value="Submit to new window"/> |
| 16 </form> | 16 </form> |
| 17 </body> | 17 </body> |
| 18 </html> | 18 </html> |
| OLD | NEW |