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

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

Issue 9706047: Allow targeted links to work on tabs that have swapped out processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODO 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/test/data/navigate_opener.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 2
3 <head><title>Click noreferrer links</title> 3 <head><title>Click noreferrer links</title>
4 <script> 4 <script>
5 function simulateClick(target) { 5 function simulateClick(target) {
6 var evt = document.createEvent("MouseEvents"); 6 var evt = document.createEvent("MouseEvents");
7 evt.initMouseEvent("click", true, true, window, 7 evt.initMouseEvent("click", true, true, window,
8 0, 0, 0, 0, 0, false, false, 8 0, 0, 0, 0, 0, false, false,
9 false, false, 0, null); 9 false, false, 0, null);
10 10
(...skipping 29 matching lines...) Expand all
40 40
41 </script> 41 </script>
42 </head> 42 </head>
43 43
44 <a href="https://REPLACE_WITH_HOST_AND_PORT/files/title2.html" 44 <a href="https://REPLACE_WITH_HOST_AND_PORT/files/title2.html"
45 id="noref_and_tblank_link" rel="noreferrer" target="_blank"> 45 id="noref_and_tblank_link" rel="noreferrer" target="_blank">
46 rel=noreferrer and target=_blank</a><br> 46 rel=noreferrer and target=_blank</a><br>
47 <a href="title2.html" id="samesite_noref_and_targeted_link" 47 <a href="title2.html" id="samesite_noref_and_targeted_link"
48 rel="noreferrer" target="foo"> 48 rel="noreferrer" target="foo">
49 same-site rel=noreferrer and target=foo</a><br> 49 same-site rel=noreferrer and target=foo</a><br>
50 <a href="title2.html" id="samesite_targeted_link" target="foo"> 50 <a href="navigate_opener.html" id="samesite_targeted_link" target="foo">
51 <a href="https://REPLACE_WITH_HOST_AND_PORT/files/title2.html" id="tblank_link" 51 <a href="https://REPLACE_WITH_HOST_AND_PORT/files/title2.html" id="tblank_link"
52 target="_blank">target=_blank</a><br> 52 target="_blank">target=_blank</a><br>
53 <a href="https://REPLACE_WITH_HOST_AND_PORT/files/title2.html" id="noref_link" 53 <a href="https://REPLACE_WITH_HOST_AND_PORT/files/title2.html" id="noref_link"
54 rel="noreferrer">rel=noreferrer</a><br> 54 rel="noreferrer">rel=noreferrer</a><br>
55 55
56 </html> 56 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/navigate_opener.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698