DescriptionOnly consider PasswordFromManager which HasCompletedMatching when provisionally saving passwords
In PasswordManager::ProvisionallySavePassword, PasswordFormManager instances are sought, which could be managing the form being saved. Some of those managers may not be ready, because they still did not complete matching against the PasswordStore. There might also be more form managers suitable for the form being saved, with some having completed the matching, and some not.
Currently, the code first finds the first suitable form manager, and then drops it if it has not completed matching. This ignores the fact that there might be a second choice form manager, which has completed matching. This happens currently on live.com (see the bug).
This CL ignores form managers which did not complete matching when looking for a suitable form manager for the form being saved.
This CL also improves a poorly phrased log message related to the situation when form managers have not completed matching.
BUG=367768
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282935
Patch Set 1 #Patch Set 2 : Just rebased #Patch Set 3 : Test added #
Total comments: 26
Patch Set 4 : All comments but one addressed #
Total comments: 1
Patch Set 5 : Ilya's comment addressed #Patch Set 6 : Rebased + switched the browser test to the new prompt testing #Patch Set 7 : Added missing copyright notice in the JavaScript file #
Messages
Total messages: 17 (0 generated)
|