Closed Bug 1946433 Opened 1 year ago Closed 10 months ago

[contextual-password-manager] "Close Without Saving?" prompt appears when no changes are made

Categories

(Toolkit :: Password Manager, defect, P3)

Firefox 137
Desktop
All
defect

Tracking

()

VERIFIED FIXED
141 Branch
Tracking Status
firefox137 --- disabled
firefox139 --- disabled
firefox140 --- disabled
firefox141 --- verified

People

(Reporter: epopescu, Assigned: dimi)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxcm-cpm-milestones-3-4])

Attachments

(1 file)

Found in

  • Nightly 137.0a1

Affected versions

  • Nightly 137.0a1

Tested platforms

  • Affected platforms: Windows 11, macOS 13 ARM, Ubuntu 22.04
  • Unaffected platforms: none

Preconditions:

  • Set pref browser.contextual-password-manager.enabled to true in about:config
  • Enable Sidebar
  • Have several saved password records

Steps to reproduce

  1. Select an existing record and click Edit
  2. Do not make any changes to the record
  3. Click on "Cancel" button

Expected result

  • The "Close without saving?" prompt should only appear when actual changes have been made to the record.

Actual result

  • The "Close without saving?" prompt appears even if no changes were made.

Regression range

  • N/A

Additional notes

Blocks: 1942365
Has STR: --- → yes
OS: Unspecified → All
Hardware: Unspecified → Desktop
Whiteboard: [fxcm-cpm-milestones-3-4]
Version: unspecified → Firefox 137
See Also: → 1946424

Not a blocker for alpha Fx138

Severity: -- → S3
Priority: -- → P3
Duplicate of this bug: 1946424
Assignee: nobody → dlee
Status: NEW → ASSIGNED
Pushed by dlee@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b8c442260a93 https://hg.mozilla.org/integration/autoland/rev/92b36594512d Do not show "Close Without Saving" prompt when no changes are made r=mtigley,credential-management-reviewers
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch

Verified as fixed using Firefox Nightly 141.0a1 (2025-06-12) on macOS 13, Windows 11 and Ubuntu 22.04. The "Close without saving?" prompt no longer appears when no changes were made.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-ver-done-c141/b140]
QA Contact: bhidecuti
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: