Ignore:
Timestamp:
Dec 8, 2017, 12:21:27 PM (7 years ago)
Author:
[email protected]
Message:

Web Inspector: CRASH at InspectorConsoleAgent::enable when iterating mutable list of buffered console messages
https://bugs.webkit.org/show_bug.cgi?id=180590
<rdar://problem/35882767>

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2017-12-08
Reviewed by Mark Lam.

  • inspector/agents/InspectorConsoleAgent.cpp:

(Inspector::InspectorConsoleAgent::enable):
Swap the messages to a Vector that won't change during iteration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r225683 r225693  
     12017-12-08  Joseph Pecoraro  <[email protected]>
     2
     3        Web Inspector: CRASH at InspectorConsoleAgent::enable when iterating mutable list of buffered console messages
     4        https://bugs.webkit.org/show_bug.cgi?id=180590
     5        <rdar://problem/35882767>
     6
     7        Reviewed by Mark Lam.
     8
     9        * inspector/agents/InspectorConsoleAgent.cpp:
     10        (Inspector::InspectorConsoleAgent::enable):
     11        Swap the messages to a Vector that won't change during iteration.
     12
    1132017-12-08  Michael Saboff  <[email protected]>
    214
Note: See TracChangeset for help on using the changeset viewer.