Skip to content
  • darin's avatar
    - fixed 3084704 -- crash in HTMLTokenizer on page with JavaScript · 43befc74
    darin authored
    	HTMLDocument::Close inside a <script>
    
    	I think it's going to work this time. The key was to hook up the
    	KHTML submitFormAgain machinery.
    
            * khtml/khtml_part.cpp: (KHTMLPart::submitForm): Take out the APPLE_CHANGES
    	ifdef that was disabling the submitFormAgain logic.
            * kwq/KWQKHTMLPart.h: Remove submitForm(), because openURLRequest() handles it fine.
            * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::openURLRequest): Move the logic for handling
    	POST here from submitForm() and remove submitForm().
    
            * kwq/KWQSlot.mm:
            (KWQSlot::KWQSlot): Add support for the submitFormAgain slot.
            (KWQSlot::call): Ditto.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    43befc74