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

Unified Diff: content/test/data/click-noreferrer-links.html

Issue 1459603002: Implement the 'noopener' window feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ugh. Created 5 years, 1 month 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: content/test/data/click-noreferrer-links.html
diff --git a/content/test/data/click-noreferrer-links.html b/content/test/data/click-noreferrer-links.html
index bed24248e920fc2fd776292a01a0feb4275125f2..683cbad02aba4323a496f3e1d8bf0d82edbfd191 100644
--- a/content/test/data/click-noreferrer-links.html
+++ b/content/test/data/click-noreferrer-links.html
@@ -113,6 +113,11 @@
function getLastOpenedWindowLocation() {
return last_opened_window.location.href;
}
+
+ function openWindowWithTargetAndFeatures(path, target, features) {
+ var w = window.open(path, target, features);
+ return w !== undefined;
+ }
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698