2011-05-16 Adam Barth <abarth@webkit.org>
authorAdam Barth <abarth@webkit.org>
Tue, 17 May 2011 01:42:14 +0000 (01:42 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 17 May 2011 17:54:11 +0000 (14:54 -0300)
commit0c115e1cd3025eca640f03710b946c3fb597327d
treef03ef046f6d80907220a7e6b65f6e8e0aecf6776
parent97cb46475a1e67d56cfc8ffced549ffbf78e859a
2011-05-16  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove bogus ASSERT in Document::setCompatibilityMode
        https://bugs.webkit.org/show_bug.cgi?id=60935

        This test case triggers the ASSERT.

        * fast/parser/append-child-followed-by-document-write-expected.txt: Added.
        * fast/parser/append-child-followed-by-document-write.html: Added.
2011-05-16  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove bogus ASSERT in Document::setCompatibilityMode
        https://bugs.webkit.org/show_bug.cgi?id=60935

        The ASSERT is invalid when the parser is in the initial state and the
        document is non-empty, which is strange but not impossible.

        Test: fast/parser/append-child-followed-by-document-write.html

        * dom/Document.cpp:
        (WebCore::Document::setCompatibilityMode):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/parser/append-child-followed-by-document-write-expected.txt [new file with mode: 0644]
LayoutTests/fast/parser/append-child-followed-by-document-write.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/dom/Document.cpp