summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/origins/resources/link.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/origins/resources/link.html')
-rw-r--r--tests/auto/core/origins/resources/link.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/core/origins/resources/link.html b/tests/auto/core/origins/resources/link.html
new file mode 100644
index 000000000..297b9b273
--- /dev/null
+++ b/tests/auto/core/origins/resources/link.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Link</title>
+ </head>
+ <body>
+ <a id="link" href="">Link</a>
+ <script>
+ const urlParams = new URLSearchParams(window.location.search);
+ document.getElementById("link").href = urlParams.get('linkLocation');
+ </script>
+ </body>
+</html>