Fix false saving positives on accounts.google.com.
In the following case false positive on accounts.google.com happens: 1.Suppose that the user has 2 Gaia credentials (with usernames and passwords u1/p1 and u2/p2). Let u1 be saved in Password Manager. 2.The user go to accounts.google.com, u1/p1 are autofilled by CPM (a username field is visible, a password field is invisible). 3.The user is typing u2 in the username field and is clicking next button. 4.At that moment the page removes password form from the DOM and Password Manager incorrectly thinks that it was successful submission with u2/p1 Video is on bug 764663 (actual_bubble). This CL fixes this by ignoring accounts.google.com forms with submitted type DOM_MUTATION_AFTER_XHR, which means that the form disappeared from the DOM, without any visible submission. Similar issues might be on different sites, this CL fixes only accounts.google.com, because 1.A general solution is unlikely without more complex changes and server-side support. 2.accounts.google.com is crucial for Chrome, in particular because it serves the Chrome sign-in page. Bug: 758155, 764663 Change-Id: I44f9878673bf8f419c49f63220335f6c0f26a6e4 Reviewed-on: https://chromium-review.googlesource.com/1194011 Commit-Queue: Vadym Doroshenko <dvadym@chromium.org> Reviewed-by:Vaclav Brozek <vabr@chromium.org> Cr-Commit-Position: refs/heads/master@{#587115}
Showing
Please register or sign in to comment