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

Unified Diff: chrome/test/data/popup_blocker/check-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
« no previous file with comments | « chrome/browser/ui/browser_navigator.cc ('k') | chrome/test/data/popup_blocker/check-openersuppressed.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/popup_blocker/check-opener.html
diff --git a/chrome/test/data/popup_blocker/check-windowfeatures.html b/chrome/test/data/popup_blocker/check-opener.html
similarity index 65%
copy from chrome/test/data/popup_blocker/check-windowfeatures.html
copy to chrome/test/data/popup_blocker/check-opener.html
index 901ce081aa02e67325474829ae1533837e59fe2d..606aff5442ae14d3d5a55bf1150e50b9d6a52370 100644
--- a/chrome/test/data/popup_blocker/check-windowfeatures.html
+++ b/chrome/test/data/popup_blocker/check-opener.html
@@ -1,17 +1,17 @@
<!DOCTYPE html>
<html>
<head>
-<title>Check that window features are set</title>
+<title>Check that window.opener is set</title>
</head>
<body>
<div id="console"></div>
<script>
var log = document.querySelector("#console");
var result;
- if (window.locationbar.visible)
- result = "FAIL: window features not set";
- else
+ if (window.opener != null)
result = "PASS";
+ else
+ result = "FAIL: opener not set";
log.innerText = result;
document.title = result;
</script>
« no previous file with comments | « chrome/browser/ui/browser_navigator.cc ('k') | chrome/test/data/popup_blocker/check-openersuppressed.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698