| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cf8e52193ab7ca5aa326acc083add21aadc936e7
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-policy-header-then-csp.php
|
| @@ -0,0 +1,19 @@
|
| +<?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>
|
|
|