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

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 26 19:37:36 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:                   |
---------------------------------+-----------------------------------

Comment (by arthuredelstein):

 Replying to [comment:2 mcs]:
 > This does not seem to be the case with Firefox.  On Mac OS, Windows 7,
 and Ubuntu I always get this format:
 >   3/26/2015, 3:02:40 PM
 > Each of the systems I tested on are set for U.S. / English, so I guess
 that might be the difference.  I did not spend a lot of time on it, but I
 quickly got lost reading src/builtin/Date.js and js/src/builtin/Intl.cpp.

 I just tested in standard Firefox (presumably using the US English locale)
 by entering:
 `[new Date().toLocaleFormat(), new Date().toLocaleString()]`
 Ubuntu:
 `Array [ "Thu 26 Mar 2015 19:32:43 GMT", "26/03/2015 19:32:43" ]`
 OSX:
 `Array [ "Thu Mar 26 12:35:24 2015", "3/26/2015, 12:35:24 PM" ]`
 Windows 7:
 `Array ["Thursday, March 26, 2015 12:34:50 PM", "3/26/2015, 12:34:50 PM"]`

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


More information about the tor-bugs mailing list