DescriptionPasswordManager fills up text input field with password, or PM crashes chrome tab/window/session
The password manager was incorrectly down-casting from WebNode to WebInputElement and then upon method invocation, was crashing. This change adds extra checks to |FindFormInputElements| before down-casting. Also, when "name" attributes are ambiguous, the code now rejects filling. This fixes the case where password text can erroneously get filled in the username field.
BUG=29352
TEST=PasswordAutocompleteManagerTest.*, and manual according to bugs.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71806
Patch Set 1 #
Total comments: 4
Patch Set 2 : Comment nits. #Messages
Total messages: 3 (0 generated)
|