2011-05-31 Abhishek Arya <inferno@chromium.org>
authorAbhishek Arya <inferno@chromium.org>
Tue, 31 May 2011 16:51:09 +0000 (16:51 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 31 May 2011 18:42:13 +0000 (15:42 -0300)
commit9b4474ac44ee2f3311b435bd45630f5c2c357217
tree64a58ef7672575e35820eb3202d55788e5c062ed
parentde5d05ba5c0b39499480a656261b701ea1a6da0a
2011-05-31  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dimitri Glazkov.

        Convert raw ptr to RefPtr for documentElement.
        https://bugs.webkit.org/show_bug.cgi?id=61688

        Test: fast/dom/xml-parser-error-message-crash.svg

        * dom/XMLDocumentParser.cpp:
        (WebCore::XMLDocumentParser::insertErrorMessageBlock):
2011-05-31  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dimitri Glazkov.

        Test that we do not crash when a DOMNodeInsertedIntoDocument event
        is fired while generating a error message block in xml parsing.
        https://bugs.webkit.org/show_bug.cgi?id=61688

        * fast/dom/xml-parser-error-message-crash-expected.txt: Added.
        * fast/dom/xml-parser-error-message-crash.svg: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/xml-parser-error-message-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/xml-parser-error-message-crash.svg [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/dom/XMLDocumentParser.cpp