[Bug 22835] window.navigator.language should not return "en" for privacy protection


--- Comment #3 from Boris Zbarsky <bzbarsky@mit.edu> ---
Except to the extent that they do sniffing and take different codepaths in
different browsers, of course...

We've been bitten far too many times by making something undefined that was
already undefined in some one browser and pages suddenly breaking.

But more importantly, think about the situation a few years from now when all
UAs return strings except the ones that are implementing the encouragement from
the spec (which I expect to be minority UAs).  At that point, those UAs would
almost certainly have to return "" (violating this spec) due to compat
concerns, assuming the property gets used at all.

You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 30 July 2013 02:20:03 UTC