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