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

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

Issue 2778113003: Fix popunders spawned from a subframe. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/popup_blocker/popup-subframe.html
diff --git a/chrome/test/data/popup_blocker/popup-window-open.html b/chrome/test/data/popup_blocker/popup-subframe.html
similarity index 89%
copy from chrome/test/data/popup_blocker/popup-window-open.html
copy to chrome/test/data/popup_blocker/popup-subframe.html
index a4f58b36c9672f1843776e8cf18efb1d293e8bb9..35fa0390543e5baa7b2e604eba8eff112610c5a4 100644
--- a/chrome/test/data/popup_blocker/popup-window-open.html
+++ b/chrome/test/data/popup_blocker/popup-subframe.html
@@ -6,10 +6,11 @@ function test() {
window.open("data:text/html,<title>Popup Success!</title>" +
"you should not see this message if popup blocker is enabled",
"mywindow", "menubar=1, resizable=1, width=350, height=250");
+ window.parent.deleteframe();
}
</script>
</head>
<body onload="test()">
pop-up test page
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698