Closed Bug 1480946 Opened 6 years ago Closed 6 years ago

systemLanguage should be case insensitive

Categories

(Core :: SVG, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: longsonr, Assigned: longsonr)

References

()

Details

Attachments

(1 file)

The specification requires an exact or prefix-and-hyphen match of an IETF BCP 47 langtag. IETF langtag matching should be case insensitive. That is, "en" matches "EN". See https://tools.ietf.org/html/bcp47 which has RFC 4646 and 4647. RFC 4647 describes how IETF langtags are matched.
Attached patch patchSplinter Review
I don't know how to write a test because I can't guarantee the browser has any specific language set.
Assignee: nobody → longsonr
Attachment #8997631 - Flags: review?(dholbert)
Attachment #8997631 - Flags: review?(dholbert) → review+
Pushed by longsonr@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/f0edb2e07f56 systemLanguage should be case insensitive r=dholbert
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Blocks: 1482002
No longer blocks: 1482002
Depends on: 1482002
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: