| Index: third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/basic-header-same-origin-with-origin-when-cross-origin.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/basic-header-same-origin-with-origin-when-cross-origin.php b/third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/basic-header-same-origin-with-origin-when-cross-origin.php
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c6785ae165d7422fa95f0f5780999e6fb45243c0
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/basic-header-same-origin-with-origin-when-cross-origin.php
|
| @@ -0,0 +1,18 @@
|
| +<?php
|
| +header("Referrer-Policy: origin-when-cross-origin");
|
| +?>
|
| +<!DOCTYPE html>
|
| +<head>
|
| + <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 = "origin-when-cross-origin";
|
| + var expectedReferrer = document.location.href;
|
| + var navigateTo = "same-origin";
|
| +</script>
|
| +<script src="resources/header-test.js"></script>
|
| +</html>
|
|
|