summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/inheritance/support/postmessage-opener.html
blob: 7ee11bc78de53414cb7dde5b3ce59272bf823911 (plain)
1
2
3
4
<script>
  const params = new URLSearchParams(window.location.search);
  opener.postMessage({msg: "ready", token: params.get("token")}, "*");
</script>