Home | History | Annotate | Download | only in storage
      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 <iframe src="resources/stress-frame.html" onload="startTest()"></iframe>
      6 <script>
      7 if (window.layoutTestController) {
      8     layoutTestController.waitUntilDone();
      9     layoutTestController.dumpAsText();
     10 }
     11 
     12 function startTest()
     13 {
     14     setTimeout("document.getElementsByTagName('iframe')[0].src = 'about:blank'", 100);
     15     if (window.layoutTestController)
     16         setTimeout("layoutTestController.notifyDone()", 500);
     17 }
     18 </script>
     19 </body>
     20