Closed
Bug 1992982
Opened 3 months ago
Closed 2 months ago
Passwords and the state of them (visible or hidden) are remembered when dismissing and reopening the Back up your sensitive data and change password dialog using ESC key
Categories
(Firefox :: Profile Backup, defect, P1)
Tracking
()
VERIFIED
FIXED
146 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox143 | --- | unaffected |
| firefox144 | --- | unaffected |
| firefox145 | --- | verified |
| firefox146 | --- | verified |
People
(Reporter: bmaris, Assigned: dmcintosh)
References
(Blocks 2 open bugs)
Details
(Keywords: triaged, Whiteboard: [fidedi-fx-backup-blocking])
Attachments
(3 files)
Found in
- Nightly 145.0a1
Affected versions
- Nightly 145.0a1
Tested platforms
- Affected platforms: Windows 10, Windows 11
- Unaffected platforms: MacOS, Ubuntu (even though the feature can also be forced turned on here as well)
Preconditions
browser.backup.preferences.ui.enabledset totrue
Steps to reproduce
- Go to about:preferences and search for Backup
- Click the "Manage Backup" button and "Turn on backup"
- Click the "Back up your sensitive data" checkbox
- Enter a random password and toggle the view/hidden icon
- Close the dialog using the ESC key
- Click the "Back up your sensitive data" checkbox again
- Same thing happens when using the "Change password" button
Expected result
- The password is deleted and the view pass icon is set to hidden by default every time
Actual result
- The password is remembered and the view pass icon is left in the same state as it was last used
Regression range
- Not a regression, this is also reproducible on older builds when this feature was first enabled back in 2024-09-18 in Nightly 132.0a1.
Additional notes
- This is not reproducible if user closes the dialog by the button X or Cancel.
- Note that the view pass icon also remains in the state that it was last left even though the password is saved successfully or cancel the dialog from the X or Cancel button. I can log a separate bug for the view icon if we don't want to address this in the same bug.
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
Assignee: nobody → dmcintosh
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed by dmcintosh@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/7d3fe10ccdec
https://hg.mozilla.org/integration/autoland/rev/c0481866bb1f
Reset backup password value and visibility when containing preference dialogs close. r=hsohaney
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox146:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
Comment 4•2 months ago
|
||
The patch landed in nightly and beta is affected.
:dmcintosh, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox145towontfix.
For more information, please visit BugBot documentation.
Flags: needinfo?(dmcintosh)
Comment 5•2 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: Password might remain in dialog after closing it, or password fields might unintentionally be visible when opened the second time. Marked P1 for FxBackup, which is planned for a dot release.
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: See STR in bug 1992982.
- Go to about:preferences and search for 'backup'.
- Click 'Turn on backup'.
- Click 'Back up your sensitive data'
- Enter something into each password box (doesn't need to match).
- Set both to reveal the password by clicking on the eye icon.
- Press Escape.
- Click 'Turn on backup' and 'Back up your sensitive data'.
- Check that the boxes are empty and not revealed.
- Click 'Back up your sensitive data' to turn it off, and select 'Turn on backup'.
- Click 'Back up your sensitive data' on the settings page (not in a dialog).
- Repeat steps 4, 5, 6.
- Click 'Back up your sensitive data' (from #10) and verify the boxes are empty and not revealed.
- Risk associated with taking this patch: low
- Explanation of risk level: Disabled by default with a pref, doesn't affect critical functionality, and has automated tests.
- String changes made/needed: no
- Is Android affected?: no
Attachment #9523364 -
Flags: approval-mozilla-beta?
| Assignee | ||
Comment 6•2 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D269891
| Assignee | ||
Updated•2 months ago
|
Flags: needinfo?(dmcintosh)
Updated•2 months ago
|
Attachment #9523364 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•2 months ago
|
| Reporter | ||
Comment 8•2 months ago
|
||
This looks fixed to me using both Firefox 145.0 and latest Nightly 146.0a1 on Windows 10 and Windows 11. Passwords are now removed when exiting a dialog that has passwords fields and also all the passwords are masked (hidden) by default.
Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-found-in-c145] → [qa-found-in-c145] [qa-ver-done-c146/b145]
You need to log in
before you can comment on or make changes to this bug.
Description
•