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

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

Issue 1896953002: Fix cross-site popups to inherit their opener's sandbox flags even when popup opener is not set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 683cbad02aba4323a496f3e1d8bf0d82edbfd191..f8413d495637c39162a88039af938df7a17c855e 100644
--- a/content/test/data/click-noreferrer-links.html
+++ b/content/test/data/click-noreferrer-links.html
@@ -3,7 +3,13 @@
<head><title>Click noreferrer links</title>
<script>
function setOriginForLinks(baseUrl) {
- var links = ['noref_and_tblank_link', 'tblank_link', 'noref_link'];
+ var links = [
+ 'noref_and_tblank_link',
+ 'noopener_and_tblank_link',
+ 'tblank_link',
+ 'noref_link',
+ 'noopener_link'
+ ];
links.forEach(function(linkId) {
link = document.getElementById(linkId);
link.href = baseUrl + link.pathname.substr(1);
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698