blob: 235be913ed3ff4c69b814d7ad33c18bc95a28b69 [file] [log] [blame]
<html>
<script>
function handleTimeout()
{
i++;
w.status = i;
if (i == 2) {
if (window.testRunner)
testRunner.notifyDone();
}
setTimeout(handleTimeout, 1);
}
function runTest()
{
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
testRunner.setPopupBlockingEnabled(false);
}
i = 0;
w = open('about:blank');
w.close();
setTimeout(handleTimeout, 1);
}
</script>
<body onload="runTest()">
<p>This tests that setting properties on a closed window object does not crash.</p>
<p>SUCCESS - Didn't crash</p>
</body>
</html>