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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-from-document-on-preload.php

Issue 2445823002: Remove CSP referrer directive (Closed)
Patch Set: remove unused test file Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-from-document-on-preload.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/referrer-from-document-on-preload.php b/third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-from-document-on-preload.php
similarity index 60%
rename from third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/referrer-from-document-on-preload.php
rename to third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-from-document-on-preload.php
index a8a89cce3eb89d4a3b7c85c61492edfd4d5482e8..ee51c11d414b8c3f5453eae2a00409046fe10bfa 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/referrer-from-document-on-preload.php
+++ b/third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-from-document-on-preload.php
@@ -1,5 +1,5 @@
<?php
-header("Content-Security-Policy: referrer origin-when-cross-origin");
+header("Referrer-Policy: origin-when-cross-origin");
?>
<html>
<head>

Powered by Google App Engine
This is Rietveld 408576698