summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/https-upgrades/resources/pass-with-referrer.html
blob: be978c16dc866fd536c188983e1095c9f2396950 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
  <body>
    <script>
      window.onload = (event) => {
          window.opener.postMessage({
              'pass': true,
              'referrer': document.referrer},
            '*');
      };
    </script>
  </body>
</html>