Opened 21 months ago

Last modified 8 months ago

#22125 new enhancement

Unit test for js locale

Reported by: arthuredelstein Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-fingerprinting, ff52-esr, tbb-7.0-must, TorBrowserTeam201805
Cc: boklm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (16)

comment:1 Changed 21 months ago by arthuredelstein

Type: defectenhancement

comment:2 Changed 21 months ago by gk

Cc: boklm added

comment:3 Changed 21 months ago by boklm

Maybe boklm's testing framework can do this?

Yes, we can set the LANG variable to different values before running a test.

comment:4 Changed 20 months ago by gk

Keywords: TorBrowserTeam201706 added

Adding to our TorBrowserTeam2016 agenda

comment:5 Changed 19 months ago by gk

Keywords: TorBrowserTeam201707 added; TorBrowserTeam201706 removed

Moving Tickets to July 2017.

comment:6 Changed 18 months ago by gk

Keywords: TorBrowserTeam201708 added; TorBrowserTeam201707 removed

Moving our Tickets to August.

comment:7 Changed 17 months ago by gk

Keywords: TorBrowserTeam201709 added; TorBrowserTeam201708 removed

Items for September 2017.

comment:8 Changed 16 months ago by gk

Keywords: TorBrowserTeam201710 added; TorBrowserTeam201709 removed

Items for October 2017

comment:9 Changed 15 months ago by gk

Keywords: TorBrowserTeam201711 added; TorBrowserTeam201710 removed

Moving tickets over to November.

comment:10 Changed 14 months ago by gk

Moving tickets to December 2017

comment:11 Changed 14 months ago by gk

Keywords: TorBrowserTeam201712 added; TorBrowserTeam201711 removed

Moving tickets to December 2017, for realz.

comment:12 Changed 12 months ago by gk

Keywords: TorBrowserTeam201801 added; TorBrowserTeam201712 removed

Moving tickets to 2018.

comment:13 Changed 12 months ago by gk

Keywords: TorBrowserTeam201802 added; TorBrowserTeam201801 removed

Moving tickets to Feb

comment:14 Changed 11 months ago by gk

Keywords: TorBrowserTeam201803 added; TorBrowserTeam201802 removed

Adding to our March plate.

comment:15 Changed 9 months ago by gk

Keywords: TorBrowserTeam201804 added; TorBrowserTeam201803 removed

Moving our tickets to April.

comment:16 Changed 8 months ago by gk

Keywords: TorBrowserTeam201805 added; TorBrowserTeam201804 removed

Moving remaining tickets to May.

Note: See TracTickets for help on using tickets.