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

Side by Side Diff: LayoutTests/http/tests/security/referrer-policy-origin-when-crossorigin-is-sameorigin.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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.dumpChildFramesAsText(); 6 testRunner.dumpChildFramesAsText();
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 } 8 }
9 </script> 9 </script>
10 </head> 10 </head>
11 <body> 11 <body>
12 <p> 12 <p>
13 This test checks the origin referrer policy when navigating from an insecure 13 This test checks the origin referrer policy when navigating from an insecure
14 URL to another insecure URL. The test passes if the printed referrer is 14 URL to a same-origin insecure URL. The test passes if the printed referrer is
15 http://127.0.0.1:8000 15 http://127.0.0.1:8000/security/referrer-policy-origin-when-crossorigin-is-sameor igin.html
16 </p> 16 </p>
17 <iframe src="http://127.0.0.1:8000/security/resources/referrer-policy-start.html ?origin"></iframe> 17 <iframe src="http://127.0.0.1:8000/security/resources/referrer-policy-start.html ?origin-when-crossorigin"></iframe>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698