From 2a5fa33ef4a22584e0dfd58f3d2cb52ba012d659 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Tue, 1 Sep 2009 13:22:31 +0100 Subject: [PATCH] Fix a bug where the V8 bindings for SQLStatement error callbacks would not return the correct result to WebCore. BUG: 2053072 --- WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp b/WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp index 4b84ebe14..efab45534 100644 --- a/WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp +++ b/WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp @@ -74,7 +74,7 @@ bool V8CustomSQLStatementErrorCallback::handleEvent(SQLTransaction* transaction, // statement, if any, or onto the next overall step otherwise. Otherwise, // the error callback did not return false, or there was no error callback. // Jump to the last step in the overall steps. - return invokeCallback(m_callback, 2, argv, callbackReturnValue) && !callbackReturnValue; + return invokeCallback(m_callback, 2, argv, callbackReturnValue) || callbackReturnValue; } } // namespace WebCore -- 2.11.0