Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: chrome/test/data/popup_blocker/popup-blocked-to-post-blank.html

Issue 23513057: Add missing POST method to popup test HTML (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: again Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 an warning message display ed in a new tab. Otherwise, the test passes.
14 <form id="form" action="data:text/html,<title>Popup Success!</title>you should n ot see this message if popup blocker is enabled" target="_blank"> 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">
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>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698