Save/Update doorhanger on form submit is not displayed for fields where new credentials were filled in after deleting autofilled ones or field edits
Categories
(Toolkit :: Password Manager, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox75 | --- | unaffected |
firefox76 | --- | unaffected |
firefox77 | --- | verified |
People
(Reporter: tbabos, Assigned: severin)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1627658 +++
Affected Versions
Nightly 77.0a1(2020-04-22)
Tested on
Windows 10 x64
Steps to reproduce
- Have 1 set of credentials saved on facebook.com
- Load the Log in Form (ensure credentials are autofilled)
- Delete the autofilled credentials and type in new ones (observe the grey key icon)
- Click on Log In
Expected
The save doorhanger should be displayed on form submit (replaces the dismissed one)
Actual
Save doorhanger on form submit is not displayed, the grey key for the dismissed doorhanger remains displayed
Regression-Range
This regressed recently on Nightly due to Bug 1532377.
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=6c5eddde0f5b187cb6891549d0d279394cd65423&tochange=cf66def9cbd002f21bab8e55083a165f82ea0217
Reporter | ||
Comment 1•5 years ago
|
||
Hey Severin, could you take a look at this when you have the time? Thanks!
Comment 2•5 years ago
|
||
Severin, can you take this after bug 1630191? This doesn't affect 76 so is lower priority than that one. Maybe your fix for that can take this bug into account and address both? I don't have enough context to know if that makes sense but they seem related.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
RCA:
Bug 1532377 moved docState
(inside _maybeSendFormInteractionMessage
) closer to its use site. This accidentally changed the order of a short, which resulted in site-prompted changes being saved in _compareAndUpdatePreviouslySentValues
, later causing _compareAndUpdatePreviouslySentValues
to return false on true form submit events.
Reporter | ||
Comment 5•5 years ago
|
||
This also affects the scenarios when we:
Edit the autofilled username or password and hit Log in.
Expected:
Save credentials or update password doorhanger should be displayed on form submit.
Actual:
The above-mentioned doorhangers are not displayed.
Comment 7•5 years ago
|
||
bugherder |
Reporter | ||
Comment 8•5 years ago
|
||
Verified-fixed on the latest Nightly 77.0a1 (2020-05-03) on Windows 10 x64, MacOS 10.13 and Ubuntu 16.04.
The Save/Update doorhnager appears when on form submit when:
- New credentials are typed in after clearing autofilled ones
- The username or the password of autofilled credentials are edited
Updated•5 years ago
|
Updated•5 years ago
|
Description
•