Stop the background-parser during HTMLDocumentParser::detatch to prevent crashes...
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jan 2013 00:21:18 +0000 (00:21 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jan 2013 00:21:18 +0000 (00:21 +0000)
commit506fcaec83a66c12bb4b780d95f9900c7ecae821
treeccf971ed6e678613a9e04bfc01fba5ec12682157
parent9885308a6382aa1923a711e8bf5b9a27474283d4
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/parser/HTMLDocumentParser.cpp