Changeset 86649 in webkit
- Timestamp:
- May 16, 2011 6:42:14 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r86648 r86649 1 2011-05-16 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Remove bogus ASSERT in Document::setCompatibilityMode 6 https://bugs.webkit.org/show_bug.cgi?id=60935 7 8 This test case triggers the ASSERT. 9 10 * fast/parser/append-child-followed-by-document-write-expected.txt: Added. 11 * fast/parser/append-child-followed-by-document-write.html: Added. 12 1 13 2011-05-16 Ian Henderson <ianh@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r86647 r86649 1 2011-05-16 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Remove bogus ASSERT in Document::setCompatibilityMode 6 https://bugs.webkit.org/show_bug.cgi?id=60935 7 8 The ASSERT is invalid when the parser is in the initial state and the 9 document is non-empty, which is strange but not impossible. 10 11 Test: fast/parser/append-child-followed-by-document-write.html 12 13 * dom/Document.cpp: 14 (WebCore::Document::setCompatibilityMode): 15 1 16 2011-05-16 MORITA Hajime <morrita@google.com> 2 17 -
trunk/Source/WebCore/dom/Document.cpp
r86588 r86649 654 654 if (m_compatibilityModeLocked || mode == m_compatibilityMode) 655 655 return; 656 ASSERT(! documentElement() && !m_styleSheets->length());656 ASSERT(!m_styleSheets->length()); 657 657 bool wasInQuirksMode = inQuirksMode(); 658 658 m_compatibilityMode = mode;
Note: See TracChangeset
for help on using the changeset viewer.