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

Side by Side Diff: chrome/test/data/popup_blocker/popup-many.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 created using window.open</title> 3 <title>Popup created using window.open</title>
4 <script> 4 <script>
5 function popup(name) { 5 function popup(name) {
6 window.open("data:text/html,<title>Popup Success!</title>" + 6 window.open("popup-success.html",
7 "you should not see this message if popup blocker is enabled",
8 name, "menubar=1, resizable=1, width=350, height=250"); 7 name, "menubar=1, resizable=1, width=350, height=250");
9 } 8 }
10 9
11 function test() { 10 function test() {
12 popup('mywindow'); 11 popup('mywindow');
13 popup('_blank'); 12 popup('_blank');
14 } 13 }
15 </script> 14 </script>
16 </head> 15 </head>
17 <body onload="test()"> 16 <body onload="test()">
18 pop-up test page 17 pop-up test page
19 </body> 18 </body>
20 </html> 19 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/popup_blocker/popup-fake-click-on-anchor3.html ('k') | chrome/test/data/popup_blocker/popup-on-unload.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698