[tor-bugs] #15473 [Tor Browser]: JS Date object reveals OS type (TBB specific)

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 26 21:26:49 UTC 2015


#15473: JS Date object reveals OS type (TBB specific)
---------------------------------+-----------------------------------
     Reporter:  arthuredelstein  |      Owner:  tbb-team
         Type:  defect           |     Status:  new
     Priority:  normal           |  Milestone:
    Component:  Tor Browser      |    Version:
   Resolution:                   |   Keywords:  tbb-fingerprinting-os
Actual Points:                   |  Parent ID:
       Points:                   |
---------------------------------+-----------------------------------
Description changed by arthuredelstein:

Old description:

> Calls like new Date().toLocaleFormat() produce different Date formatting,
> depending on the platform.
>
> Example from mcs:
>
> > Ubuntu:
> > {{{Array [ "Thu 26 Mar 2015 03:43:35 PM EDT", "3/26/2015, 3:43:35 PM"
> ]}}}
> > OSX:
> > {{{Array [ "Thu Mar 26 15:38:55 2015", "3/26/2015, 3:38:55 PM" ]}}}
> > Windows 7:
> > {{{Array [ "Thursday, March 26, 2015 3:45:01 PM", "3/26/2015, 3:45:01
> PM" ]}}}

New description:

 Calls like new Date().toLocaleFormat() produce different Date formatting,
 depending on the platform.

 Results from mcs, calling `[new Date().toLocaleFormat(), new
 Date().toLocaleString()]`:

 > Ubuntu:
 > {{{Array [ "Thu 26 Mar 2015 03:43:35 PM EDT", "3/26/2015, 3:43:35 PM"
 ]}}}
 > OSX:
 > {{{Array [ "Thu Mar 26 15:38:55 2015", "3/26/2015, 3:38:55 PM" ]}}}
 > Windows 7:
 > {{{Array [ "Thursday, March 26, 2015 3:45:01 PM", "3/26/2015, 3:45:01
 PM" ]}}}

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15473#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list