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

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

Issue 20924002: Try to restore window.opener when opening blocked popups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 5 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-opener.html
diff --git a/chrome/test/data/popup_blocker/popup-opener.html b/chrome/test/data/popup_blocker/popup-opener.html
new file mode 100644
index 0000000000000000000000000000000000000000..40e2e96c85d9c1a749165e297e6f2320dd6f94d8
--- /dev/null
+++ b/chrome/test/data/popup_blocker/popup-opener.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+<title>
+ Check that the window.opener is correctly set when opening a blocked popup
+</title>
+<script>
+function test() {
+ window.open("check-opener.html");
+}
+</script>
+</head>
+<body onload="test()">
+pop-up test page
+</body>
+</html>
« no previous file with comments | « chrome/test/data/popup_blocker/check-sessionstorage.html ('k') | chrome/test/data/popup_blocker/popup-openersuppressed.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698