Html程序  |  12行  |  255 B

<html>
<body onload="alert('FAIL: onload fired')" onunload="alert('FAIL: onunload fired')">
<script>
window.close();
alert('PASS: same script tag after close');
</script>
<script>
alert('FAIL: different script tag after close');
</script>
</body>
</html>