summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/windows/support-named-null-opener.html
blob: 8c106ca886243e8c4fa3925e7378c608a82dc7c7 (plain)
1
2
3
4
5
6
7
8
<script>
  addEventListener("storage", function(e) {
    if(e.newValue === "close") {
      close()
    }
  })
  localStorage.setItem("window" + location.hash.slice(1), "tralala")
</script>