summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/file_bug607529-1.html
blob: 506b7092c540f1ecd7eb6e16732d6515992cd063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<script>
  var bc_1 = new BroadcastChannel("bug607529_1");
  bc_1.onmessage = (msgEvent) => {
    if (msgEvent.data == "navigateBack") {
      bc_1.close();
      history.back();
    }
  }
  window.onload = function() {
    bc_1.postMessage('goback');
  }
</script>