• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4It actually helps to cause database activity by throwing an exception from a callback.</p>
5<script>
6if (window.layoutTestController) {
7    layoutTestController.waitUntilDone();
8    layoutTestController.dumpAsText();
9}
10
11function 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