gecko-dev/content/events/test/bug457672.html

13 lines
232 B
HTML
Raw Normal View History

<html>
<head>
<script>
window.addEventListener("focus", function() { window.close(); }, false);
function done() {
window.focus();
}
</script>
</head>
<body onload="done();">
</body>
</html>