<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
} | |
function loaded() { | |
document.body.removeChild(document.getElementById("i")); | |
if (window.testRunner) | |
testRunner.notifyDone(); | |
} | |
</script> | |
Test that if an iframe is denied, we don't crash if the load event detaches the frame. | |
<iframe id="i" src="http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny.cgi" onload="loaded()"></iframe> |