LayoutTests:
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Mar 2007 07:59:15 +0000 (07:59 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Mar 2007 07:59:15 +0000 (07:59 +0000)
commit93bcfae8efce0f0f9e54811003c0acabdaa1bf69
treec37ca8c2810d22bee536ccab99f95f3578daaaf9
parent36ed8ff4aea95ae21f6933bebf9ef8843fc0da1d
LayoutTests:

        Reviewed by Maciej.

        HTTP layout test for http://bugs.webkit.org/show_bug.cgi?id=12690
        REGRESSION: can not log in to bank of america with TOT webkit
        <rdar://problem/4990044>

        also for
        http://bugs.webkit.org/show_bug.cgi?id=12604
        http://bugs.webkit.org/show_bug.cgi?id=12020

        * http/tests/misc/multiple-submit-expected.txt: Added.
        * http/tests/misc/multiple-submit.html: Added.
        * http/tests/misc/resources/post-echo-and-notify-done.cgi: Added.

WebCore:

        Reviewed by Maciej.

        Fix http://bugs.webkit.org/show_bug.cgi?id=12690
        REGRESSION: can not log in to bank of america with TOT webkit
        <rdar://problem/4990044>

        and http://bugs.webkit.org/show_bug.cgi?id=12604
        REGRESSION: After closing the "Would you like to save password" sheet, the form fails
        to submit automatically at http://www.mac.com/WebObjects/HomePage.woa
        <rdar://problem/4871752>

        and http://bugs.webkit.org/show_bug.cgi?id=12020
        REGRESSION: Flickr uploading broken
        <rdar://problem/4928662>

        Turn protection against multiple forms submission back on. This approach is buggy
        but it is way better than not having it at all. Not protecting against this
        breaks number of major sites.

        * bridge/mac/WebCoreAXObject.mm:
        (-[WebCoreAXObject accessibilityPerformAction:]):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::resetMultipleFormSubmissionProtection):
        (WebCore::FrameLoader::submitForm):
        (WebCore::FrameLoader::receivedMainResourceError):
        * loader/FrameLoader.h:
        * page/EventHandler.cpp:
        (WebCore::EventHandler::keyEvent):
        * page/Frame.cpp:
        (WebCore::Frame::setView):
        * page/mac/EventHandlerMac.mm:
        (WebCore::EventHandler::mouseDown):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19940 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/misc/multiple-submit-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/misc/multiple-submit.html [new file with mode: 0644]
LayoutTests/http/tests/misc/resources/post-echo-and-notify-done.cgi [new file with mode: 0755]
WebCore/ChangeLog
WebCore/bridge/mac/WebCoreAXObject.mm
WebCore/loader/FrameLoader.cpp
WebCore/loader/FrameLoader.h
WebCore/page/EventHandler.cpp
WebCore/page/Frame.cpp
WebCore/page/mac/EventHandlerMac.mm