blob: 7f69873bb5814deaee9ee5547996e9ce4094eccd [file] [log] [blame]
<p>Test that properties in a detached subframe become unavailable immediately.</p>
<script>
if (window.testRunner)
testRunner.dumpAsText();
onload = function()
{
var childWindow = frames[0];
document.body.removeChild(document.getElementsByTagName("iframe")[0]);
document.getElementById("result").innerHTML = childWindow.XMLHttpRequest ? "FAIL" : "PASS";
}
</script>
<div id="result">FAIL: Script did not run</div>
<iframe src="about:blank"></iframe>