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

Unified 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, 1 month 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
Index: LayoutTests/http/tests/security/referrer-policy-origin-when-crossorigin-is-sameorigin.html
diff --git a/LayoutTests/http/tests/security/referrer-policy-origin.html b/LayoutTests/http/tests/security/referrer-policy-origin-when-crossorigin-is-sameorigin.html
similarity index 60%
copy from LayoutTests/http/tests/security/referrer-policy-origin.html
copy to LayoutTests/http/tests/security/referrer-policy-origin-when-crossorigin-is-sameorigin.html
index 0f6620ba2c71928b743e00985f31ae30f3376802..8fdc728e708755bd6aa906e0f59104bd0df9f0b3 100644
--- a/LayoutTests/http/tests/security/referrer-policy-origin.html
+++ b/LayoutTests/http/tests/security/referrer-policy-origin-when-crossorigin-is-sameorigin.html
@@ -11,9 +11,9 @@ if (window.testRunner) {
<body>
<p>
This test checks the origin referrer policy when navigating from an insecure
-URL to another insecure URL. The test passes if the printed referrer is
-http://127.0.0.1:8000
+URL to a same-origin insecure URL. The test passes if the printed referrer is
+http://127.0.0.1:8000/security/referrer-policy-origin-when-crossorigin-is-sameorigin.html
</p>
-<iframe src="http://127.0.0.1:8000/security/resources/referrer-policy-start.html?origin"></iframe>
+<iframe src="http://127.0.0.1:8000/security/resources/referrer-policy-start.html?origin-when-crossorigin"></iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698