Index: WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp |
=================================================================== |
--- WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp (revision 109601) |
+++ WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp (working copy) |
@@ -59,7 +59,8 @@ |
v8::Handle<v8::Value> transactionHandle = toV8(transaction); |
v8::Handle<v8::Value> errorHandle = toV8(error); |
if (transactionHandle.IsEmpty() || errorHandle.IsEmpty()) { |
- CRASH(); |
+ if (!isScriptControllerTerminating()) |
+ CRASH(); |
return true; |
} |