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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-invalid-expected.txt

Issue 2278823004: Stop supporting legacy keywords in Referrer-Policy header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jochen comment Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-invalid-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-invalid-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-invalid-expected.txt
index 417e1ec237ed1446b8523e209ab488a4711f67a0..304e985d51cdd05df29c1599e09016bcf3cd7bbf 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-invalid-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-invalid-expected.txt
@@ -1,4 +1,4 @@
-CONSOLE ERROR: line 8: Failed to set referrer policy: The value 'invalid' is not one of 'always', 'default', 'never', 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-crossorigin', or 'unsafe-url'. The referrer policy has been left unchanged.
+CONSOLE ERROR: line 8: Failed to set referrer policy: The value 'invalid' is not one of 'always', 'default', 'never', 'origin-when-crossorigin', 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', or 'unsafe-url'. The referrer policy has been left unchanged.
This test checks that an invalid referrer policy is ignored when navigating from an insecure URL to another insecure URL. The test passes if the printed referrer is the full URL.

Powered by Google App Engine
This is Rietveld 408576698