Reviewed by Eric.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Aug 2006 16:55:02 +0000 (16:55 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Aug 2006 16:55:02 +0000 (16:55 +0000)
commit4b60ffa326934ddce0bea8a7c882614dba570605
tree31551c17607fc0a29b2a81c0541faba49e274f0d
parent4d4ba411558d29c7c454eccf8e9d813a4e21cfb5
    Reviewed by Eric.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=10429
          XSLTProcessor.transformToFragment crashes if the owner document is empty

        Test: fast/js/xslt-fragment-in-empty-doc.html

        * dom/XMLTokenizer.cpp:
        (WebCore::XMLTokenizer::XMLTokenizer): Don't iterate over the element stack if it's empty.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/js/resources/xslt-fragment-in-empty-doc.js [new file with mode: 0644]
LayoutTests/fast/js/xslt-fragment-in-empty-doc-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/xslt-fragment-in-empty-doc.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/XMLTokenizer.cpp