Open Bug 1423464 Opened 8 years ago Updated 3 years ago

[Form Autofill] Revisit the necessity of setting US as default country fallback in getCountryAddress

Categories

(Toolkit :: Form Autofill, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: steveck, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [form autofill])

Currently we'll make sure the getCountryAddress/getCountryAddressWithLocales return a country data no matter the country is in the supported list or not. If we can't match any metadata from given country code or default region, we'll fallback to US country data. It might not necessary to return US metadata for further data request. We can simply return null and early exist to save more time.
Priority: -- → P3
Assignee: steveck324 → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.