repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git]
/
dom
/
base
/
test
/
file_location_href_unknown_protocol.html
blob
10c994fbdedace885001f319fd7b27076b317f8b
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
);
11
};
12
onunload
=
function
() {
13
opener
.
onChildUnload
();
14
};
15
</script>