gecko-dev/browser/base/content/test/test_bug462673.html

19 lines
235 B
HTML

<html>
<head>
<script>
var w;
function openIt() {
w = window.open("", "window2");
}
function closeIt() {
if (w) {
w.close();
w = null;
}
}
</script>
</head>
<body onload="openIt();" onunload="closeIt();">
</body>
</html>