Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / websql / close-during-stress-test.html
blob77553579e2ebb260d760f7fb989a1f1ba2f5685f
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.testRunner) {
7 testRunner.waitUntilDone();
8 testRunner.dumpAsText();
11 function startTest()
13 setTimeout("document.getElementsByTagName('iframe')[0].src = 'about:blank'", 100);
14 if (window.testRunner)
15 setTimeout("testRunner.notifyDone()", 500);
17 </script>
18 <iframe src="resources/stress-frame.html" onload="startTest()"></iframe>
19 </body>