[Bug 308397] [NEW] localizable general.useragent.locale pref shipped by ubufox breaks mozilla OS usage stats (ubuntu not counted)

Alexander Sack asac at jwsdot.com
Tue Dec 16 02:00:45 UTC 2008


Public bug reported:

Binary package hint: ubufox

See: https://bugzilla.mozilla.org/show_bug.cgi?id=469760

this is major and should be addressed by dropping the localized pref.

>From bmo bug:

1. start http live headers
2. reset app.update.lastUpdateTime.blocklist-background-update-timer
3. open error console
4. force blocklist update by running:
 
Components.classes['@mozilla.org/extensions/blocklist;1'].getService(Components.interfaces.nsITimerCallback).notify(null)
5. check the GET url invoked

result:

https://addons.mozilla.org/blocklist/2/%7Bec8030f7-c20a-464f-9b0e-13a3a9e97384%7D/3.0.4/Firefox/2008111319/Linux_x86_64-gcc3/chrome://glo
bal/locale/intl.properties/default/Linux%202.6.27-7-generic%20(GTK%202.14.4)/canonical/1.0/

expected result:
https://addons.mozilla.org/blocklist/2/%7Bec8030f7-c20a-464f-9b0e-13a3a9e97384%7D/3.0.4/Firefox/2008111319/Linux_x86_64-gcc3/en-US/default/Linux%202.6.27-7-generic%20(GTK%202.14.4)/canonical/1.0/


difference: %LOCALE% is replaced by chrome://global/locale/intl.properties ...
but should be en-US

Note: this probably busts "OS" stats if they are based on blocklist
runs.

Evaluation: PREF_GENERAL_USERAGENT_LOCALE seems to be a complex pref; fix would
first check for complex pref and then fall back to not complex pref.

** Affects: ubufox
     Importance: Critical
     Assignee: Alexander Sack (asac)
         Status: Fix Committed

** Affects: ubufox (Ubuntu)
     Importance: Critical
     Assignee: Alexander Sack (asac)
         Status: Triaged

** Affects: ubufox (Ubuntu Gutsy)
     Importance: Critical
     Assignee: Alexander Sack (asac)
         Status: Triaged

** Affects: ubufox (Ubuntu Hardy)
     Importance: Critical
         Status: Triaged

** Affects: ubufox (Ubuntu Intrepid)
     Importance: Critical
         Status: Triaged

** Affects: ubufox (Ubuntu Jaunty)
     Importance: Critical
     Assignee: Alexander Sack (asac)
         Status: Triaged

** Also affects: ubufox
   Importance: Undecided
       Status: New

** Changed in: ubufox
   Importance: Undecided => Critical
     Assignee: (unassigned) => Alexander Sack (asac)
       Status: New => Confirmed

** Changed in: ubufox (Ubuntu)
   Importance: Undecided => Critical
     Assignee: (unassigned) => Alexander Sack (asac)
       Status: New => Triaged
       Target: None => jaunty-alpha-4

** Changed in: ubufox (Ubuntu Gutsy)
   Importance: Undecided => Critical
     Assignee: (unassigned) => Alexander Sack (asac)
       Status: New => Triaged
       Target: None => gutsy-updates

** Changed in: ubufox (Ubuntu Hardy)
   Importance: Undecided => Critical
       Status: New => Triaged
       Target: None => ubuntu-8.04.2

** Changed in: ubufox (Ubuntu Intrepid)
   Importance: Undecided => Critical
       Status: New => Triaged
       Target: None => intrepid-updates

** Changed in: ubufox
       Status: Confirmed => Triaged

-- 
localizable general.useragent.locale pref shipped by ubufox breaks mozilla OS usage stats (ubuntu not counted)
https://bugs.launchpad.net/bugs/308397
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to ubufox in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list