Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

On Tue, May 24, 2016 at 1:55 AM, Nils Dagsson Moskopp
<> wrote:
> • navigator.language is the language of the interface
> • HTTP Accept-Language is the language of content
> • ECMA-402 DefaultLocale() is the user's locale

The HTML Standard has a should-level requirement for the first two to
align, to avoid fingerprinting vectors. Also, Accept-Language is the
desired language, it's a request header, which navigator.language is
just the API for (and navigator.languages is the more complete API
for). Perhaps you're thinking of Content-Language.


Received on Tuesday, 24 May 2016 06:08:30 UTC