WebCore:
Reviewed by Adam
http://bugs.webkit.org/show_bug.cgi?id=15976 - ASSERT/crash when SQLTransactionCallback throws an exception
* storage/SQLTransaction.cpp:
(WebCore::SQLTransaction::deliverTransactionCallback): Make a transaction error for the case where the
SQLTransactionCallback fails
(WebCore::SQLTransaction::deliverTransactionErrorCallback): Don't assert on the error callback, but null check it
and make the commit/rollback decision accordingly
LayoutTests:
Reviewed by Adam
Fix for http://bugs.webkit.org/show_bug.cgi?id=15976
* storage: Added - There will soon be an entire suite in here!
* storage/transaction_callback_exception_crash-expected.txt: Added.
* storage/transaction_callback_exception_crash.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27784
268f45cc-cd09-0410-ab3c-
d52691b4dbfc