WebCore:
authorcblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Nov 2004 01:40:39 +0000 (01:40 +0000)
committercblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Nov 2004 01:40:39 +0000 (01:40 +0000)
commit11d25c41d7ea415ea000b388311797ecd9493b32
treea0a50b55408def0f9c16cb8ba92b6416d2432652
parent389743f3d4566c7c88fffc917a83e755c0382785
WebCore:

Fixed: <rdar://problem/3587481> Bug Reporter Login Page: Password AutoFill does not work reliably

        Reviewed by john.

        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::currentForm): just return the current form, don't scan the entire document looking for a form if there is no current form

WebBrowser:

Fixed: <rdar://problem/3587481> Bug Reporter Login Page: Password AutoFill does not work reliably

        Reviewed by john.

        * FormCompletionController.m:
        (+[FormCompletionController firstFormInFrame:]): new, currentForm in WebCore used to do this work, but now currentForm just returns the current form
        (+[FormCompletionController currentOrFirstFrameAndForm:inWebView:]): renamed, if there is no current form, call firstFormInFrame
        (+[FormCompletionController autoFillInWebView:]): call renamed method
        (+[FormCompletionController autoFillPasswordInFrame:]): if there is no current form, find a password form from all the forms in the document rather than giving up when the first form is not a password form

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/kwq/KWQKHTMLPart.mm