summaryrefslogtreecommitdiffstats
path: root/dom/security/test/referrer-policy/referrer_header_current_document_iframe.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/referrer-policy/referrer_header_current_document_iframe.html')
-rw-r--r--dom/security/test/referrer-policy/referrer_header_current_document_iframe.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/dom/security/test/referrer-policy/referrer_header_current_document_iframe.html b/dom/security/test/referrer-policy/referrer_header_current_document_iframe.html
new file mode 100644
index 0000000000..5996c8ba8a
--- /dev/null
+++ b/dom/security/test/referrer-policy/referrer_header_current_document_iframe.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <script>
+ window.addEventListener("load", function() {
+ document.getElementById("link").click();
+ });
+ </script>
+</head>
+<body>
+ <a id="link" href="http://example.org/tests/dom/security/test/referrer-policy/referrer_header.sjs">Navigate</a>
+</body>