blob: 2183e2f28c1d7e2c88dc38b54a8d7dcb15535e09 [file] [log] [blame]
<body>
<p>Should not crash or cause an assertion failure.</p>
<p>A JavaScript failure on the console is expected, however, as the global object is cleared when closing a frame.
It actually helps to cause database activity by throwing an exception from a callback.</p>
<iframe src="resources/stress-frame.html" onload="startTest()"></iframe>
<script>
if (window.layoutTestController) {
layoutTestController.waitUntilDone();
layoutTestController.dumpAsText();
}
function startTest()
{
setTimeout("document.getElementsByTagName('iframe')[0].src = 'about:blank'", 100);
if (window.layoutTestController)
setTimeout("layoutTestController.notifyDone()", 500);
}
</script>
</body>