summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/links/downloading-resources/header-origin.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/semantics/links/downloading-resources/header-origin.html')
-rw-r--r--testing/web-platform/tests/html/semantics/links/downloading-resources/header-origin.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/links/downloading-resources/header-origin.html b/testing/web-platform/tests/html/semantics/links/downloading-resources/header-origin.html
new file mode 100644
index 0000000000..189e2e66d4
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/links/downloading-resources/header-origin.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Ping attribute Origin no Referrer Policy</title>
+ <script src="/resources/testharness.js"></script>
+ <script src="/resources/testharnessreport.js"></script>
+ </head>
+ <body>
+ <a id="a" href="#">
+ <script src="/common/utils.js"></script>
+ <script src="/common/get-host-info.sub.js"></script>
+ <script src="/resources/chromium/enable-hyperlink-auditing.js"></script>
+ <script src="header-origin.js"></script>
+ <script>
+ testOriginHeader(self.location.origin);
+ </script>
+ </body>
+</html>