Open Bug 1889234 Opened 2 months ago Updated 2 months ago

Lower case country codes break formautofill

Categories

(Toolkit :: Form Autofill, defect, P2)

defect

Tracking

()

People

(Reporter: issammani, Unassigned)

References

Details

No description provided.
See Also: → 1887017

Ebay.ca ( See Bug 1887017 ) has two select elements that are identified as country fields:

  • the actual country select: ...<option value="CA">Canada</option>....
  • the tel country code: ....<option value="ca"></option>...

We pick up the latter and it breaks our code. The code that was working didn't actually work as intended but it defaulted to DEFAULT_REGION which made it look like it was working until it hit this check and failed. Ideally we should have consistent country representation ( this would be a good place for it IMO )

Can we add test coverage for this too?

Flags: needinfo?(imani)

Of course. This will have a test before we land it.

Flags: needinfo?(imani)

The severity field is not set for this bug.
:serg, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(sgalich)
Severity: -- → S3
Flags: needinfo?(sgalich)
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.