WebCore:
[WebKit-https.git] / LayoutTests / storage / transaction_callback_exception_crash.html
1 <html>
2 <head>
3 <script>
4 if (window.layoutTestController) {
5     layoutTestController.dumpAsText();
6     layoutTestController.waitUntilDone();
7 }
8
9 var db = openDatabase("15976Test", "1.0", "Test for http://bugs.webkit.org/show_bug.cgi?id=15976", 1);
10 db.transaction(function(tx) { 
11    if (window.layoutTestController)
12        window.setTimeout(function() { layoutTestController.notifyDone() }, 0);
13    throw "TransactionCallbackError";
14 });
15 </script>
16 </head>
17 <body>
18 If WebKit doesn't crash, this test has passed
19 </body>
20 </html>