summaryrefslogtreecommitdiffstats
path: root/docshell/test/mochitest/file_bug660404-1.html
blob: 878bd8042693d54ee7d93729404e073739601999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<script>
  var bc = new BroadcastChannel("bug660404");
  window.onload = function() {
    setTimeout(() => {
      window.onpagehide = function(ev) {
        bc.postMessage({command: "pagehide", persisted: ev.persisted});
        bc.close();
      };
      window.location.href = "file_bug660404";
    }, 0);
  };
</script>