summaryrefslogtreecommitdiffstats
path: root/LayoutTests/storage/transaction-callback-exception-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/storage/transaction-callback-exception-crash.html')
-rw-r--r--LayoutTests/storage/transaction-callback-exception-crash.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/LayoutTests/storage/transaction-callback-exception-crash.html b/LayoutTests/storage/transaction-callback-exception-crash.html
new file mode 100644
index 0000000..4bcc732
--- /dev/null
+++ b/LayoutTests/storage/transaction-callback-exception-crash.html
@@ -0,0 +1,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>