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

Side by Side Diff: LayoutTests/http/tests/security/resources/referrer-policy-start-crossorigin.html

Issue 747903003: Referrer Policy: Introduce "Origin When Cross-Origin". [3/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@originwhencrossorigin
Patch Set: Rebaseline. Created 6 years 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
« no previous file with comments | « LayoutTests/http/tests/security/referrer-policy-origin-when-crossorigin-is-sameorigin-expected.txt ('k') | no next file » | 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 <head> 2 <head>
3 <script> 3 <script>
4 function runTest() { 4 function runTest() {
5 var meta = document.createElement("meta"); 5 var meta = document.createElement("meta");
6 meta.name = "referrer"; 6 meta.name = "referrer";
7 meta.content = document.location.search.substring(1); 7 meta.content = document.location.search.substring(1);
8 document.head.appendChild(meta); 8 document.head.appendChild(meta);
9 document.location = 9 document.location =
10 "http://127.0.0.1:8000/security/resources/referrer-policy-log.php"; 10 "http://localhost:8000/security/resources/referrer-policy-log.php";
11 } 11 }
12 </script> 12 </script>
13 </head> 13 </head>
14 <body onload="runTest()"> 14 <body onload="runTest()">
15 </body> 15 </body>
16 </html> 16 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/security/referrer-policy-origin-when-crossorigin-is-sameorigin-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698