Reviewed by Vicki.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 May 2005 22:48:07 +0000 (22:48 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 May 2005 22:48:07 +0000 (22:48 +0000)
commit49fd4437057288437d23afeee63efc1c6b53de5e
tree3cfe91787624290ef4d36c5a05f711f80890d89f
parent92d038c4663dbdfee9548e1c0642e995eedf2ea6
    Reviewed by Vicki.

        - fixed <rdar://problem/4125212> form submission delayed until you are on the next page on XML/XSL page (security hole)

        * khtml/xsl/xslt_processorimpl.cpp: (DOM::XSLTProcessorImpl::documentFromXMLDocPtr):
        Call setParsing(false) explicitly here. It's really annoying that setParsing(true) is done
        inside DOM::DocumentImpl and setParsing(false) is done by KHTMLPart, so that should be fixed
        some day, but for now this is the way to do it.

        Test cases added:
        * layout-tests/fast/events/xsl-onload-expected.txt: Added.
        * layout-tests/fast/events/xsl-onload.xhtml: Added.
        * layout-tests/fast/events/xsl-onload.xsl: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/fast/events/xsl-onload-expected.txt [new file with mode: 0644]
LayoutTests/fast/events/xsl-onload.xhtml [new file with mode: 0644]
LayoutTests/fast/events/xsl-onload.xsl [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/xsl/xslt_processorimpl.cpp