Closed Bug 1420234 Opened 7 years ago Closed 7 years ago

The privacy.resistFingerprinting flag interferes with the JS Date object

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1364261

People

(Reporter: michiel, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fingerprinting])

By setting the new privacy.resistFingerprinting flag in about:config to true, JavaScript is no longer able to tell which locale it is running in, and so defaults to UTC time, which for the fast majority of FF users means that websites that rely on correct date information become wildly wrong. Most notably this means services like gmail, which rely on Date to tell the user when emails were sent/received etc, but can also affect things like news filtering, which will can discard data due to timestamps being "the wrong time", with a gap that can be up to 14 hours wide. It's probably worth not automatically tying locale blanking to the "resistFingerprinting" flag, but either making that a separate flag (e.g. privacy.resistFingerprinting.hideLocale) or taking it out of the fingerprinting as Date will still report information when used for fingerprinting purposes, it'll just return a different, stable-across-sessions, string (making it just as usable as when it had the correct locale information).
Close enough to it, it seems.
Whiteboard: [fingerprinting]
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.