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

Side by Side Diff: LayoutTests/http/tests/security/referrer-policy-https-unsafe-url.html

Issue 607433002: Referrer Policy: Update <meta name="referrer"> values to match the spec. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 6 years, 2 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
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 always referrer policy when navigating from a secure URL 13 This test checks the always referrer policy when navigating from a secure URL
14 to an insecure URL. The test passes if the printed referrer is 14 to an insecure URL. The test passes if the printed referrer is
15 https://127.0.0.1:8443/security/resources/referrer-policy-start.html?always 15 https://127.0.0.1:8443/security/resources/referrer-policy-start.html?unsafe-url
16 </p> 16 </p>
17 <iframe src="https://127.0.0.1:8443/security/resources/referrer-policy-start.htm l?always"></iframe> 17 <iframe src="https://127.0.0.1:8443/security/resources/referrer-policy-start.htm l?unsafe-url"></iframe>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698