Open Bug 1462115 Opened 2 years ago Updated 7 months ago

privacy.resistfingerprinting affects the timezone displayed in native file picker dialogs


(Core :: DOM: Security, defect, P3)





(Reporter: francois, Unassigned)


(Depends on 1 open bug, Blocks 2 open bugs)


(Whiteboard: [tor][fingerprinting][domsecurity-backlog1][fp-triaged])


(1 file)

privacy.resistfingerprinting fakes the user timezone to UTC.

That appears to also affect chrome and so the native file picker UI on my Linux machine shows times in UTC instead of local time.


0. set privacy.resistfingerprinting to true in about:config
1. create a new file using `touch foobar`
2. attach that file on Bugzilla
3. look at the time next to the `foobar` file


File should show the same time as `ls -l foobar`.


File on disk is shown in local (UTC-0700) time:

  ~/bugzilla$ ls -l foobar
  -rw-r--r-- 1 francois francois 0 May 16 12:56 foobar

while the GTK3 file picker in Firefox shows `19:56` (see attached screenshot), which is UTC.
Priority: -- → P3
Whiteboard: [fingerprinting-breakage] → [fingerprinting-breakage][domsecurity-backlog1]
This happens because we set TZ env to be 'UTC', when resistfingerprinting is enabled.

The filepicker dialog uses the same env variable.
Whiteboard: [fingerprinting-breakage][domsecurity-backlog1] → [fingerprinting][domsecurity-backlog1]
This issue shall be fixed by bug 1491343, which plans to use some alternative approach to spoof timezone instead of changing the environment variable.
Depends on: 1491343
Whiteboard: [fingerprinting][domsecurity-backlog1] → [tor][fingerprinting][domsecurity-backlog1][fp-triaged]
You need to log in before you can comment on or make changes to this bug.