| Index: LayoutTests/http/tests/security/referrer-policy-attribute-anchor-no-policy.html
|
| diff --git a/LayoutTests/http/tests/security/referrer-policy-attribute-anchor-no-policy.html b/LayoutTests/http/tests/security/referrer-policy-attribute-anchor-no-policy.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0697d25d2b4c606d734ba547a0e489f52d4e6eae
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/security/referrer-policy-attribute-anchor-no-policy.html
|
| @@ -0,0 +1,18 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <script src="/resources/testharness.js"></script>
|
| + <script src="/resources/testharnessreport.js"></script>
|
| +</head>
|
| +<body>
|
| + <script>
|
| + var anch = document.createElement("a");
|
| + anch.href = "http://localhost:8000/security/resources/referrer-attr-anchor-target.html#no-policy";
|
| + document.body.appendChild(anch);
|
| + test(function () {
|
| + assert_equals(anch.referrerpolicy, "");
|
| + }, "Dynamically created anchor has empty referrerpolicy");
|
| + anch.click();
|
| + </script>
|
| +</body>
|
| +</html>
|
|
|