Closed Bug 1845438 Opened 2 years ago Closed 6 months ago

[AT] [moebelix.at] Form autofill doesn't work on the Card Name field

Categories

(Toolkit :: Form Autofill, task, P3)

Firefox 117
Desktop
All
task

Tracking

()

RESOLVED WORKSFORME
134 Branch
Tracking Status
firefox115 --- disabled
firefox116 --- disabled
firefox117 --- disabled

People

(Reporter: asoncutean, Assigned: theidkamp)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

(Whiteboard: [fxcm-cc-compatibility])

Attachments

(6 files)

Found in

  • 117.0a1

Affected versions

  • 117.0a1

Tested platforms

  • Windows 10

Preconditions

  • browser.search.region = AT
  • Have at least one CC already saved

Steps to reproduce

  1. Reach the payment form on https://www.moebelix.at/
  2. Click inside the Card Name field

Expected result

  • The CC dropdown is triggered and the field is populated with the saved information.

Actual result

  • Nothing happens, the CC dropdown is not displayed.

Regression range

  • N/A

Additional notes

  • Not reproducible on Chrome, but the field is working independently.
  • Fathom sample
Depends on: 1815399
Priority: -- → P3
Attached image moebelix_Field Info.png

As requested by the engineering team, I've retested this in the latest Nightly 132.0a1 on Windows 10 x64:

  • The dropdown is not displayed in the Cardholder Name field.
  • The Cardholder Name field is not being previewed or autofilled.
  • The Card Number or Expiry Date fields are not highlighted when being previewed or autofilled.

The 'Name on Card' field is situated on the main page, and not inside an iframe, unlike the 'Card Number' and 'Expiry Date' fields(which are located within same-origin iframes).
Setting the pref extensions.formautofill.heuristics.autofillSameOriginWithTop to true doesn't resolve the issues. Please find attached the Field Info section details from about:autofill.

Depends on: 1923615
Attached video 2024-10-28_13h18_51.mp4

Still not fixed, the issue is reproducible as described in comment 1. Tested in Nightly 133.0a1 (2024-10-27).

Assignee: nobody → theidkamp
Status: NEW → ASSIGNED
Whiteboard: [fxcm-cc-compatibility]
Pushed by theidkamp@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ef93dc1e3d1b Updating field parsing and update logic for credit card name field detection when name field is in last position of the form. r=dimi
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
Attached video 2025-03-18_11h59_13.mp4

I can still reproduce the issue in the latest Nightly 138.0a1 (2025-03-17).

Flags: needinfo?(theidkamp)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Inspect screenshot

(In reply to Alin Ilea, Desktop Test Engineering from comment #6)

Created attachment 9472644 [details]
2025-03-18_11h59_13.mp4

I can still reproduce the issue in the latest Nightly 138.0a1 (2025-03-17).

Hi Alin,

Originally, this issue was caused by the credit card name field being the last field in the form. We submitted a patch (attached to this issue) that addresses such cases. However, in this specific instance, even after fixing the issue related to the field’s position, it still does not get filled. But this is now no longer related to a bug but rather the expected behavior caused by the autocomplete attribute.

Let me know if you need any further clarification!

Flags: needinfo?(theidkamp)

Based on tessa's comment (Comment 8), close this issue as FIXED

Status: REOPENED → RESOLVED
Closed: 11 months ago6 months ago
Resolution: --- → FIXED

Retested this issue on the latest Nightly 140.0a1 (20250511205430), on Windows 10 and I can still reproduce the behavior, the credit card name field is not being autofilled, and the dropdown does not appear when focusing the field. However, based on the last two comments (Comment 8 and Comment 9), this is now considered expected behavior due to the autocomplete attribute and not caused by a bug in the autofill implementation. Closing this issue as WORKSFORME.

QA Whiteboard: [qa-investig-done-c140/b139]
QA Contact: gmoldovan
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: