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