Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / dom / base / test / file_location_href_unknown_protocol.html
blob10c994fbdedace885001f319fd7b27076b317f8b
1 <!doctype html>
2 <script>
3 onbeforeunload = function() {
4 opener.onChildBeforeUnload();
5 };
6 onload = function() {
7 location.href = "this-protocol-is-unlikely-to-exist://foo";
8 setTimeout(function() {
9 opener.onChildLoadTimedOut();
10 }, 1000);
12 onunload = function() {
13 opener.onChildUnload();
15 </script>