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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-policy-header-then-csp.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-policy-header-then-csp.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-policy-header-then-csp.php b/third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-policy-header-then-csp.php
deleted file mode 100644
index cf8e52193ab7ca5aa326acc083add21aadc936e7..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-policy-header-then-csp.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-header("Referrer-Policy: origin");
-?>
-<!DOCTYPE html>
-<head>
- <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline' *; child-src *; referrer no-referrer">
- <script src="/resources/testharness.js"></script>
- <script src="/resources/testharnessreport.js"></script>
- <script src="/resources/get-host-info.js"></script>
-</head>
-<body>
-</body>
-<script>
- var policy = "no-referrer";
- var expectedReferrer = "";
- var navigateTo = "same-origin";
-</script>
-<script src="resources/header-test.js"></script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698