Title: [140050] trunk/Source/WebCore
- Revision
- 140050
- Author
- e...@webkit.org
- Date
- 2013-01-17 14:52:51 -0800 (Thu, 17 Jan 2013)
Log Message
Stop the background parser when canceling parsing to avoid crashing on many layout tests
https://bugs.webkit.org/show_bug.cgi?id=107159
Reviewed by Adam Barth.
Covered by many existing tests.
* html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::stopParsing):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (140049 => 140050)
--- trunk/Source/WebCore/ChangeLog 2013-01-17 22:51:03 UTC (rev 140049)
+++ trunk/Source/WebCore/ChangeLog 2013-01-17 22:52:51 UTC (rev 140050)
@@ -1,3 +1,15 @@
+2013-01-17 Eric Seidel <e...@webkit.org>
+
+ Stop the background parser when canceling parsing to avoid crashing on many layout tests
+ https://bugs.webkit.org/show_bug.cgi?id=107159
+
+ Reviewed by Adam Barth.
+
+ Covered by many existing tests.
+
+ * html/parser/HTMLDocumentParser.cpp:
+ (WebCore::HTMLDocumentParser::stopParsing):
+
2013-01-17 Stephen Chenney <schen...@chromium.org>
SVGViewSpec fails when corresponding element has been removed
Modified: trunk/Source/WebCore/html/parser/HTMLDocumentParser.cpp (140049 => 140050)
--- trunk/Source/WebCore/html/parser/HTMLDocumentParser.cpp 2013-01-17 22:51:03 UTC (rev 140049)
+++ trunk/Source/WebCore/html/parser/HTMLDocumentParser.cpp 2013-01-17 22:52:51 UTC (rev 140050)
@@ -130,6 +130,10 @@
{
DocumentParser::stopParsing();
m_parserScheduler.clear(); // Deleting the scheduler will clear any timers.
+#if ENABLE(THREADED_HTML_PARSER)
+ if (m_haveBackgroundParser)
+ stopBackgroundParser();
+#endif
}
// This kicks off "Once the user agent stops parsing" as described by:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes