Closed Bug 1385597 Opened 3 years ago Closed 3 years ago

privacy.resistFingerprinting fails to restore system timezone

Categories

(Core :: General, defect)

Unspecified
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox55 --- affected
firefox56 --- fixed

People

(Reporter: jbeich, Assigned: jbeich)

References

Details

(Whiteboard: [fingerprinting])

Attachments

(1 file)

$ date
Sun Jul 30 02:40:58 JST 2017
$ TZ= date
Sat Jul 29 17:41:08 UTC 2017
$ TZ=:/etc/localtime date
Sun Jul 30 02:41:15 JST 2017

$ ./mach build
$ ./mach run
<open Web Console (Ctrl+Shift+K)>
>> new Date().getTimezoneOffset()
-540
<toggle privacy.resistFingerprinting (true)>
>> new Date().getTimezoneOffset()
0
<toggle privacy.resistFingerprinting (false)>
>> new Date().getTimezoneOffset()
0
Comment on attachment 8891681 [details]
Bug 1385597 - Properly restore system timezone on other POSIX systems.

https://reviewboard.mozilla.org/r/162748/#review168540
Attachment #8891681 - Flags: review?(ehsan) → review+
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/a470ec390d7b
Properly restore system timezone on other POSIX systems. r=Ehsan
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/a470ec390d7b
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Whiteboard: [fingerprinting]
You need to log in before you can comment on or make changes to this bug.