<script> | |
function crash() | |
{ | |
/* Ensure we have no frame when the exception is thrown. */ | |
var iframe = parent.document.getElementById("iframe"); | |
iframe.parentNode.removeChild(iframe); | |
/* Throw an exception. */ | |
throw "crash"; | |
} | |
setTimeout(crash, 0); | |
</script> |