Reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Oct 2007 08:16:26 +0000 (08:16 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Oct 2007 08:16:26 +0000 (08:16 +0000)
commit2081521ef7c08feb0d2ee11257bb442cfb8aa74a
treee43128229ef5105a31092fa18828dfa24a7102ce
parenta2ce7a728f631fe7804c843bc924c4d122e8f863
    Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=15467
        Setting innerHTML to blank string in application/xhtml+xml mode
        throws DOM Exception 7

        Test: fast/dom/blank-innerHTML.xhtml

        * dom/XMLTokenizer.cpp:
        (WebCore::parseXMLDocumentFragment): Bail out early if the input string is empty.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/blank-innerHTML-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/blank-innerHTML.xhtml [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/XMLTokenizer.cpp