Changeset 142492 in webkit
- Timestamp:
- Feb 11, 2013 11:48:56 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r142490 r142492 1 2013-02-11 Adam Barth <abarth@webkit.org> 2 3 document.write during window.onload can trigger DumpRenderTree to dump the render tree 4 https://bugs.webkit.org/show_bug.cgi?id=109465 5 6 Reviewed by Eric Seidel. 7 8 * fast/parser/document-write-during-load-expected.txt: Added. 9 * fast/parser/document-write-during-load.html: Added. 10 1 11 2013-02-11 Christophe Dumez <ch.dumez@sisa.samsung.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r142488 r142492 1 2013-02-11 Adam Barth <abarth@webkit.org> 2 3 document.write during window.onload can trigger DumpRenderTree to dump the render tree 4 https://bugs.webkit.org/show_bug.cgi?id=109465 5 6 Reviewed by Eric Seidel. 7 8 This patch is a partial revert of 9 http://trac.webkit.org/changeset/142378. It's not safe to call 10 checkComplete during the load event. We'll need to find another way of 11 calling checkComplete at the right time. 12 13 Test: fast/parser/document-write-during-load.html 14 15 * dom/Document.cpp: 16 (WebCore::Document::decrementActiveParserCount): 17 1 18 2013-02-11 Andrey Kosyakov <caseq@chromium.org> 2 19 -
trunk/Source/WebCore/dom/Document.cpp
r142378 r142492 5772 5772 bool Document::hasActiveParser() 5773 5773 { 5774 return m_ activeParserCount || (m_parser && m_parser->processingData());5774 return m_parser && m_parser->processingData(); 5775 5775 } 5776 5776 … … 5778 5778 { 5779 5779 --m_activeParserCount; 5780 if (!frame())5781 return;5782 frame()->loader()->checkLoadComplete();5783 5780 } 5784 5781
Note: See TracChangeset
for help on using the changeset viewer.