summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/transaction-callback-exception-crash.html
blob: 4bcc732bb8f2b53ecb4481a79975e2ccf71ccdc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html>
<head>
<script>
if (window.layoutTestController) {
    layoutTestController.dumpAsText();
    layoutTestController.waitUntilDone();
}

var db = openDatabase("15976Test", "1.0", "Test for http://bugs.webkit.org/show_bug.cgi?id=15976", 1);
db.transaction(function(tx) {
   if (window.layoutTestController)
       window.setTimeout(function() { layoutTestController.notifyDone() }, 0);
   throw "TransactionCallbackError";
});
</script>
</head>
<body>
If WebKit doesn't crash, this test has passed
</body>
</html>