summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/portals/resources/portal-host.html
blob: e5772082364dd07528073aeb4f981d6f5ff97a74 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<script src="stash-utils.sub.js"></script>
<body>
  <script>
    let queryParams = new URLSearchParams(window.location.search);
    let key = queryParams.get('key');
    if (key) {
      StashUtils.putValue(key, window.portalHost ? "passed" : "failed");
    }
  </script>
</body>