Closed Bug 1753622 Opened 4 years ago Closed 5 months ago

The textarea forms are not autofilled

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1928339
Tracking Status
firefox96 --- affected
firefox97 --- affected
firefox98 --- affected

People

(Reporter: ailea, Unassigned)

References

(Blocks 1 open bug, )

Details

Affected Versions:

All recent firefox versions.

Tested on:

MacOS 11
Windows 10

Preconditions:

browser.search.region US,CA
extensions.formautofill.addresses.enabled - true
extensions.formautofill.supportedCountries US,CA
download latest Firefox Nightly with region locale
have a complete address already saved in about:preferences#privacy

Steps to reproduce:

  1. Reach https://luke-chang.github.io/autofill-demo/textarea_select.html
  2. Using autofill feature, select 1 saved address entry.

Expected Results:

All the fields should be successfully autofilled.

Actual Results:

The streetAddress field (textarea field) is not autofilled.

Since "textarea" is not a "input" or "select" element, our current code says that "textarea" elements are not eligible for autofill. Bug 1360370 seems to be the first bug to implement this code, but I can't find context as to why "textarea" wasn't included as an eligible field for autofill.

Seems straightforward enough though, add a case for "textarea", add a test for this new case, ensure the form autofill tests don't break, etc.

Priority: -- → P3

Per https://html.spec.whatwg.org/#autofill textarea should be eligible for all autofill field keywords.

I haven't checked how well this matches WebKit/Chromium though.

Blocks: 1928604
Status: NEW → RESOLVED
Closed: 5 months ago
Duplicate of bug: 1928339
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.