summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_location_href_unknown_protocol.html
blob: 10c994fbdedace885001f319fd7b27076b317f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html>
<script>
onbeforeunload = function() {
  opener.onChildBeforeUnload();
};
onload = function() {
  location.href = "this-protocol-is-unlikely-to-exist://foo";
  setTimeout(function() {
    opener.onChildLoadTimedOut();
  }, 1000);
};
onunload = function() {
  opener.onChildUnload();
};
</script>