Closed Bug 2002939 Opened 4 months ago Closed 3 months ago

The payment methods list is ordered from oldest to newest insted of newest to oldest

Categories

(Firefox :: Settings UI, defect, P3)

Firefox 147
Desktop
All
defect

Tracking

()

VERIFIED FIXED
148 Branch
Tracking Status
firefox147 --- disabled
firefox148 --- verified

People

(Reporter: ailea, Assigned: tgiles)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [fxcm-settings-redesign][recomp-support][srdbb])

Attachments

(1 file)

Found in

  • 147.0a1

Affected versions

  • 147.0a1

Tested platforms

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

Preconditions

  • Set pref browser.settings-redesign.enabled = true
  • Set pref browser.search.region = US

Steps to reproduce

  1. Open Settings → Privacy & Security → Payment methods.
  2. Click the Manage payment methods button.
  3. Add few credit cards.

Expected result

  • The payment methods list should be ordered from newest to oldest(the most recent card added should displayed on the top of the list), as it is if the browser.settings-redesign.enabled is set to false.

Actual result

  • The payment methods list is ordered from oldest to newest insted of newest to oldest. The most recent card added is listed to the bottom of the list.

Regression range

  • Not a regression but a new implementation behavior.
Component: Settings UI → Form Autofill
Product: Firefox → Toolkit
Severity: -- → S4
Component: Form Autofill → Settings UI
Priority: -- → P3
Product: Toolkit → Firefox
Whiteboard: [fxcm-settings-redesign] → [fxcm-settings-redesign][recomp-support]
Assignee: nobody → tgiles
Status: NEW → ASSIGNED
Whiteboard: [fxcm-settings-redesign][recomp-support] → [fxcm-settings-redesign][recomp-support][srdbb]

Since we want to show the newly added payment methods first, I reversed
the records before we create their box item configuration.

Pushed by tgiles@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/cd8497d076d6 https://hg.mozilla.org/integration/autoland/rev/3bd75b3287cf Fix payment methods ordering in subpage. r=credential-management-reviewers,mkennedy,dimi
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch

Verified - Fixed in Nightly 148.0a1 (2025-12-11).
The payment methods list is now ordered from newest to oldest(the most recent card added is displayed on the top of the list).

Status: RESOLVED → VERIFIED
QA Whiteboard: [QA-4484][qa-found-in-c147][S3] → [QA-4484][qa-found-in-c147][S3][qa-ver-done-c148/b147]
See Also: → 2007642
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: