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

Side by Side Diff: chrome/test/data/popup_blocker/popup-window-open.html

Issue 2772983003: Prevent tests using data URLs from being broken by data URL deprecation (Closed)
Patch Set: nasko comments Created 3 years, 9 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 test() { 5 function test() {
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 "mywindow", "menubar=1, resizable=1, width=350, height=250"); 7 "mywindow", "menubar=1, resizable=1, width=350, height=250");
9 } 8 }
10 </script> 9 </script>
11 </head> 10 </head>
12 <body onload="test()"> 11 <body onload="test()">
13 pop-up test page 12 pop-up test page
14 </body> 13 </body>
15 </html> 14 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/popup_blocker/popup-success.html ('k') | chrome/test/data/popup_blocker/popup-window-open-noopener.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698