Index: LayoutTests/http/tests/security/referrer-policy-attribute-anchor-origin-when-crossorigin.html |
diff --git a/LayoutTests/http/tests/security/referrer-policy-attribute-anchor-origin-when-crossorigin.html b/LayoutTests/http/tests/security/referrer-policy-attribute-anchor-origin-when-crossorigin.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cbbfdd4296eb7f3a00db12f0c750e1f86e6294e2 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/referrer-policy-attribute-anchor-origin-when-crossorigin.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script src="/resources/testharness.js"></script> |
+ <script src="/resources/testharnessreport.js"></script> |
+</head> |
+<body> |
+ <a href="http://localhost:8000/security/resources/referrer-attr-anchor-target.html#origin-when-crossorigin" |
+ referrerpolicy="origin-when-crossorigin" id="click-me">click me</a> |
+ <script> |
+ document.getElementById("click-me").click(); |
+ </script> |
+</body> |
+</html> |