1 <body> 2 <p>Should not crash or cause an assertion failure.</p> 3 <p>A JavaScript failure on the console is expected, however, as the global object is cleared when closing a frame. 4 It actually helps to cause database activity by throwing an exception from a callback.</p> 5 <script> 6 if (window.layoutTestController) { 7 layoutTestController.waitUntilDone(); 8 layoutTestController.dumpAsText(); 9 } 10 11 function startTest() 12 { 13 setTimeout("document.getElementsByTagName('iframe')[0].src = 'about:blank'", 100); 14 if (window.layoutTestController) 15 setTimeout("layoutTestController.notifyDone()", 500); 16 } 17 </script> 18 <iframe src="resources/stress-frame.html" onload="startTest()"></iframe> 19 </body> 20