Open Bug 1746179 Opened 2 years ago Updated 2 years ago

[DE] [lufthansa.com] The credit card type and expiry date are not reset upon "Clear Form" option

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox95 --- disabled
firefox96 --- disabled
firefox97 --- disabled

People

(Reporter: tbabos, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Affected Versions:
Latest Firefox Nightly 97.0a1, Beta 96
Since Bug 1688607 was fixed, CC autofill didn't work at all before

Tested on:
MacOS 10.15

Preconditions:

  • browser.search.region DE
  • extensions.formautofill.supportedCountries DE
  • download latest Firefox Nightly with region locale (switch extensions.formautofill.available to "on" for testing non-Nightly builds)

Steps to reproduce:

  1. Reach the payment form on lufthansa.com
  2. Click on any of the card number fields and select any saved CC option
  3. Click again on the autofilled card number field and choose to "Clear Form"

Expected Results:
The Credit Card type and Expiry Month should be reset and also highlighted.

Actual Results:
The credit card type and expiry date are not highlighted nor reset upon the "Clear Form" option. Recording: https://drive.google.com/file/d/1EC0QsMBLE2jHqfC9i7MRgQdxKV8z5-jk/view?usp=sharing

Notes:
Reproducible on Chrome: No, the fields are reset on Chrome. However, the mentioned fields are also not highlighted on Chrome.

This might be fixed by Bug 1740070

Priority: -- → P3
See Also: → 1740070
Depends on: 1740070
See Also: 1740070
Attached video 2022-02-02_11h23_06.mp4

Hi,
I just re-tested the issue in the latest Nightly DE build 98.0a1 (2022-02-01) and both issues described are still there. The credit card type and expiry date are not highlighted nor reset upon the "Clear Form" option.

This is because there are hidden fields we are filling into that do not correspond to the actual visible fields on the webpage. For some reason, it seems like these hidden fields actually have the "normal" state, so these elements might be created on the fly by the website, not sure. Regardless, since they're in the "normal" state, we don't reset them and so there's no reset on the visible ones because there's no change to the linked invisible select fields. It almost seems like the website is resetting the value of these invisible fields to 01/22 which are the first options for expiry month and year respectively so I'm not sure why the visible expiry month and year are not changing in this case.

Out of all the recent issues regarding select elements, this seems the trickiest. There's a lot of patterns on lufthansa that I don't understand so hopefully I'll have some idea to fix this in the future.

The expiry date and the CC type are now reset accordingly upon clear form option. However, the credit card type and expiry date are still not highlighted with yellow. Tested in Beta 102.0b9, Windows 10.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: