Changeset 140609 in webkit


Ignore:
Timestamp:
Jan 23, 2013 4:21:18 PM (11 years ago)
Author:
eric@webkit.org
Message:

Stop the background-parser during HTMLDocumentParser::detatch to prevent crashes/asserts
https://bugs.webkit.org/show_bug.cgi?id=107751

Reviewed by Tony Gentilcore.

This appears to fix the 2 intermitent crashers we were seeing while
running fast/parser. And definitely fixes 8 ASSERTs seen using a Debug build.

  • html/parser/HTMLDocumentParser.cpp:

(WebCore::HTMLDocumentParser::detach):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140606 r140609  
     12013-01-23  Eric Seidel  <eric@webkit.org>
     2
     3        Stop the background-parser during HTMLDocumentParser::detatch to prevent crashes/asserts
     4        https://bugs.webkit.org/show_bug.cgi?id=107751
     5
     6        Reviewed by Tony Gentilcore.
     7
     8        This appears to fix the 2 intermitent crashers we were seeing while
     9        running fast/parser.  And definitely fixes 8 ASSERTs seen using a Debug build.
     10
     11        * html/parser/HTMLDocumentParser.cpp:
     12        (WebCore::HTMLDocumentParser::detach):
     13
    1142013-01-23  Hans Muller  <hmuller@adobe.com>
    215
  • trunk/Source/WebCore/html/parser/HTMLDocumentParser.cpp

    r140589 r140609  
    122122void HTMLDocumentParser::detach()
    123123{
     124#if ENABLE(THREADED_HTML_PARSER)
     125    if (m_haveBackgroundParser)
     126        stopBackgroundParser();
     127#endif
    124128    DocumentParser::detach();
    125129    if (m_scriptRunner)
Note: See TracChangeset for help on using the changeset viewer.