Open
Bug 1649304
Opened 5 years ago
Updated 5 years ago
[HomeDepot] When the website clears the CC field (after the user clicks out and back in), "Clear Autofill" fails to work.
Categories
(Toolkit :: Form Autofill, defect, P3)
Toolkit
Form Autofill
Tracking
()
NEW
People
(Reporter: abr, Unassigned)
Details
(Whiteboard: [cc-autofill-reserve])
Attachments
(1 file)
STR:
- Ensure you have credit card autofill enabled and at least one credit card saved
- Go to homedepot.com
- Place an item in the cart
- Go through the checkout flow, selecting guest checkout
- Enter an address and move on to payment information
- Click on the credit card number field, and select a card from the drop down
- Click on "Address Line 1"
- Click back on the credit card number (Note: number will disappear; this is Home Depot's chosen user experience, and not a bug in Firefox)
- Select "Clear Autofill Form" from the popup menu
Expected results: The form should reset, and subsequent clicks on the credit card field should display stored cards.
Actual results: The form is left as-is, and there is no way to bring up the list of stored credit cards.
(Testing note: if you click on "PayPal" and then "Credit Card" again, it resets the fields so that you can run through the STR from step 5 onward.)
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Comment 2•5 years ago
|
||
The problem appears to be that setting the field to "" when it is already blank doesn't trigger any events, so the field stays as-is (i.e., marked as having been autofilled). The attached POC patch fixes the issue. There may be a better way to do this, and it needs tests added.
![]() |
||
Updated•5 years ago
|
Severity: -- → S4
Priority: -- → P3
Updated•5 years ago
|
Whiteboard: [cc-autofill-mvp] → [cc-autofill-reserve]
You need to log in
before you can comment on or make changes to this bug.
Description
•