forked from mirrors/gecko-dev
Pages apparently do this to try to open to native apps, and that on Firefox causes an error page to be shown if the app is not installed, which is pretty bad. Differential Revision: https://phabricator.services.mozilla.com/D68471 --HG-- extra : moz-landing-system : lando
15 lines
312 B
HTML
15 lines
312 B
HTML
<!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>
|