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

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

Issue 2772983003: Prevent tests using data URLs from being broken by data URL deprecation (Closed)
Patch Set: nasko comments Created 3 years, 8 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
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 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>
OLDNEW
« no previous file with comments | « chrome/test/data/click_modifier/window_open.html ('k') | chrome/test/data/popup_blocker/popup-fake-click-on-anchor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698