[tbb-bugs] #22125 [Applications/Tor Browser]: Unit test for js locale

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 2 04:43:00 UTC 2017


#22125: Unit test for js locale
-------------------------------------+-------------------------------------
     Reporter:  arthuredelstein      |      Owner:  tbb-team
         Type:  defect               |     Status:  new
     Priority:  Medium               |  Milestone:
    Component:  Applications/Tor     |    Version:
  Browser                            |   Keywords:  tbb-fingerprinting,
     Severity:  Normal               |  ff52-esr, tbb-7.0-must
Actual Points:                       |  Parent ID:
       Points:                       |   Reviewer:
      Sponsor:                       |
-------------------------------------+-------------------------------------
 Let's introduce an automated regression test to ensure that the
 `javascript.use_us_english_locale` pref is applied to
 * members of `window.Date` objects
 * Intl API
 * toLocaleString
 * `DateTimeFormat.formatToParts`

 I can work on this at some point. The problem is that we need to set the
 LANG variable to de_DE or another non-en_US locale before starting
 Firefox. Maybe boklm's testing framework can do this? Or maybe it's
 possible in Mozilla's automated testing system, but I don't know a way
 yet.

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


More information about the tbb-bugs mailing list