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

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

Issue 2778113003: Fix popunders spawned from a subframe. (Closed)
Patch Set: 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 test() { 5 function test() {
6 window.open("data:text/html,<title>Popup Success!</title>" + 6 window.open("data:text/html,<title>Popup Success!</title>" +
7 "you should not see this message if popup blocker is enabled", 7 "you should not see this message if popup blocker is enabled",
8 "mywindow", "menubar=1, resizable=1, width=350, height=250"); 8 "mywindow", "menubar=1, resizable=1, width=350, height=250");
9 window.parent.deleteframe();
9 } 10 }
10 </script> 11 </script>
11 </head> 12 </head>
12 <body onload="test()"> 13 <body onload="test()">
13 pop-up test page 14 pop-up test page
14 </body> 15 </body>
15 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698