summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/click-on-link.sub.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/click-on-link.sub.html')
-rw-r--r--testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/click-on-link.sub.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/click-on-link.sub.html b/testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/click-on-link.sub.html
new file mode 100644
index 0000000000..d2899c8873
--- /dev/null
+++ b/testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/click-on-link.sub.html
@@ -0,0 +1,10 @@
+<body>
+ coucou
+ <a href="{{GET[url]}}">Click me</a>
+</body>
+
+<script>
+ window.addEventListener("load", function() {
+ document.getElementsByTagName("a")[0].click();
+ })
+</script>