Open Bug 1477192 Opened 6 years ago Updated 2 years ago

Blank option line is displayed in the dropdown menus of the “Add/Edit Credit Card” screens

Categories

(Firefox :: WebPayments UI, defect, P3)

defect

Tracking

()

Tracking Status
firefox63 --- affected

People

(Reporter: tbabos, Unassigned)

Details

(Whiteboard: [webpayments-reserve])

[Affected versions]:
Nightly 63.0a1

[Affected platforms]:
Windows 10 x64, Mac OS X 10.12, Ubuntu 18.04 x64

[Prerequisites]:
- set the pref dom.payments.request.enabled to "true"
- have saved cards with different addresses and Credit Card information

[Steps to reproduce]:
1. Go to “https://rsolomakhin.github.io/pr/type/credit/” test page and click on “Buy” button
2. Click on “Add” or “Edit” to reach the “Add/Edit Credit Card” screen
3. Select the expiration month and billing address dropdwon menus

[Expected Result]:
The options from the dropdown menu should be properly displayed.

[Actual Result]:
Blank option line is displayed in the mentioned menus. Check: https://imgur.com/a/00PbITg
Priority: -- → P3
Whiteboard: [webpayments] [triage] → [webpayments-reserve]
Unclear if this is a bug or feature.
Status: NEW → UNCONFIRMED
Ever confirmed: false
As far as I can tell, the addition of an empty option is intended. See https://searchfox.org/mozilla-central/source/browser/extensions/formautofill/content/autofillEditForms.js#403, https://searchfox.org/mozilla-central/source/browser/extensions/formautofill/content/autofillEditForms.js#427 or https://searchfox.org/mozilla-central/source/browser/extensions/formautofill/content/autofillEditForms.js#449

Every select box features an empty option which is always listed as the first item. It's only possible to save or updated the form when all options are not empty.

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.