Changeset 209998 in webkit


Ignore:
Timestamp:
Dec 19, 2016 2:45:02 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Assertion seen in InspectorDebuggerAgent::refAsyncCallData with Inspector open
https://bugs.webkit.org/show_bug.cgi?id=166034
<rdar://problem/29554366>

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2016-12-19
Reviewed by Brian Burg.

  • inspector/agents/InspectorDebuggerAgent.cpp:

(Inspector::InspectorDebuggerAgent::refAsyncCallData):
Remove assertion. This assert can happen if the currently executing callback
was just explicitly cancelled by script. Existing code already handles if
no async data was found for the given identifier.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r209979 r209998  
     12016-12-19  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Assertion seen in InspectorDebuggerAgent::refAsyncCallData with Inspector open
     4        https://bugs.webkit.org/show_bug.cgi?id=166034
     5        <rdar://problem/29554366>
     6
     7        Reviewed by Brian Burg.
     8
     9        * inspector/agents/InspectorDebuggerAgent.cpp:
     10        (Inspector::InspectorDebuggerAgent::refAsyncCallData):
     11        Remove assertion. This assert can happen if the currently executing callback
     12        was just explicitly cancelled by script. Existing code already handles if
     13        no async data was found for the given identifier.
     14
    1152016-12-18  Saam Barati  <sbarati@apple.com>
    216
  • trunk/Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.cpp

    r209492 r209998  
    11431143{
    11441144    auto iterator = m_asyncCallIdentifierToData.find(identifier);
    1145     ASSERT(iterator != m_asyncCallIdentifierToData.end());
    11461145    if (iterator == m_asyncCallIdentifierToData.end())
    11471146        return;
Note: See TracChangeset for help on using the changeset viewer.