[Webkit-unassigned] [Bug 163096] window.navigator.language incorrectly returns all lowercase string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 7 15:19:42 PDT 2016


--- Comment #3 from Chris Dumez <cdumez at apple.com> ---
As per https://developer.apple.com/reference/corefoundation/1666963-cflocale?language=objc , CFLocale is using BCP-47 language tags. Our Mac implementation is relying on CFLocaleCopyPreferredLanguages() which does return BCP-47 language tags.

However, we then call httpStyleLanguageCode() on them which alters their format (and lower cases them).

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161007/93526438/attachment.html>

More information about the webkit-unassigned mailing list