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

Side by Side Diff: chrome/test/data/popup_blocker/popup-on-unload.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() { 5 function popup() {
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 "_blank", "menubar=1, resizable=1, width=350, height=250"); 7 "_blank", "menubar=1, resizable=1, width=350, height=250");
9 } 8 }
10 9
11 </script> 10 </script>
12 </head> 11 </head>
13 <body onunload="popup()"> 12 <body onunload="popup()">
14 pop-up test page 13 pop-up test page
15 </body> 14 </body>
16 </html> 15 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/popup_blocker/popup-many.html ('k') | chrome/test/data/popup_blocker/popup-simulated-click-on-anchor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698