1
0
Fork 0
firefox/dom/tests/mochitest/chrome/window_focus_inner.xhtml
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

12 lines
377 B
HTML

<?xml version="1.0"?>
<window onfocus='dostuff()' xmlns='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul' style='-moz-user-focus: normal;'>
<script>
function dostuff() {
setTimeout(function() {
document.documentElement.focus();
document.removeChild(document.documentElement);
window.opener.focus();
}, 100);
}
</script>
</window>