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

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

Issue 9325082: Create window in a new BrowsingInstance when opening a link in a new process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix line break Created 8 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_manager_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/click-noreferrer-links.html
diff --git a/chrome/test/data/click-noreferrer-links.html b/chrome/test/data/click-noreferrer-links.html
index 0e5e297bbb1042b151e865586b062d1816e35ddc..e34af69ef23c675972e043391396228ac3337c7d 100644
--- a/chrome/test/data/click-noreferrer-links.html
+++ b/chrome/test/data/click-noreferrer-links.html
@@ -15,6 +15,11 @@
return simulateClick(document.getElementById("noref_and_tblank_link"));
}
+ function clickSameSiteNoRefTargetedLink() {
+ return simulateClick(
+ document.getElementById("samesite_noref_and_targeted_link"));
+ }
+
function clickTargetBlankLink() {
return simulateClick(document.getElementById("tblank_link"));
}
@@ -26,13 +31,15 @@
</script>
</head>
-<a href="https://REPLACE_WITH_HOST_AND_PORT/files/title2.html"
+<a href="https://REPLACE_WITH_HOST_AND_PORT/files/title2.html"
id="noref_and_tblank_link" rel="noreferrer" target="_blank">
rel=noreferrer and target=_blank</a><br>
+<a href="title2.html" id="samesite_noref_and_targeted_link"
+ rel="noreferrer" target="foo">
+ same-site rel=noreferrer and target=foo</a><br>
<a href="https://REPLACE_WITH_HOST_AND_PORT/files/title2.html" id="tblank_link"
target="_blank">target=_blank</a><br>
<a href="https://REPLACE_WITH_HOST_AND_PORT/files/title2.html" id="noref_link"
rel="noreferrer">rel=noreferrer</a><br>
</html>
-
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698