summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/resources/click-on-link.sub.html
blob: d2899c8873f4e56326b7628dcf6676a1409a131a (plain)
1
2
3
4
5
6
7
8
9
10
<body>
  coucou
  <a href="{{GET[url]}}">Click me</a>
</body>

<script>
  window.addEventListener("load", function() {
    document.getElementsByTagName("a")[0].click();
 })
</script>