haikuwebkit/LayoutTests/storage/websql/transaction-callback-except...

21 lines
468 B
HTML

<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.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.testRunner)
window.setTimeout(function() { testRunner.notifyDone() }, 0);
throw "TransactionCallbackError";
});
</script>
</head>
<body>
If WebKit doesn't crash, this test has passed
</body>
</html>