Changeset 68146 in webkit


Ignore:
Timestamp:
Sep 23, 2010 8:56:59 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-09-23 Luiz Agostini <luiz.agostini@openbossa.org>

Reviewed by Andreas Kling.

Invalid assertion in ScriptCallback
https://bugs.webkit.org/show_bug.cgi?id=46348

Removing invalid ASSERT from method ScriptCallback::call().

  • bindings/js/ScriptFunctionCall.cpp: (WebCore::ScriptCallback::call):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r68145 r68146  
     12010-09-23  Luiz Agostini  <luiz.agostini@openbossa.org>
     2
     3        Reviewed by Andreas Kling.
     4
     5        Invalid assertion in ScriptCallback
     6        https://bugs.webkit.org/show_bug.cgi?id=46348
     7
     8        Removing invalid ASSERT from method ScriptCallback::call().
     9
     10        * bindings/js/ScriptFunctionCall.cpp:
     11        (WebCore::ScriptCallback::call):
     12
    1132010-09-23  Martin Robinson  <mrobinson@igalia.com>
    214
  • trunk/WebCore/bindings/js/ScriptFunctionCall.cpp

    r68074 r68146  
    216216    CallData callData;
    217217    CallType callType = getCallData(m_function.jsValue(), callData);
    218 
    219     ASSERT(callType != CallTypeNone);
     218    if (callType == CallTypeNone)
     219        return ScriptValue();
    220220
    221221    JSValue result = JSC::call(m_exec, m_function.jsValue(), callType, callData, m_function.jsValue(), m_arguments);
Note: See TracChangeset for help on using the changeset viewer.