I think the root cause for this is:

toolkit/modules/Preferences.jsm:

  _get: function(prefName, defaultValue) {
    switch (this._prefSvc.getPrefType(prefName)) {
      case Ci.nsIPrefBranch.PREF_STRING:
        return this._prefSvc.getComplexValue(prefName, 
Ci.nsISupportsString).data;


In the case of localizable prefs, that should be gCV(prefName, 
Ci.nsIPrefLocalizedString) to get the right value. I think the code as written 
will grab intl.properties instead of actually reading the real value.

But even that might be broken -- when syncing between two Firefoxes with
different locales.

I suspect there needs to be more sophisticated handling here altogether.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/643899

Title:
  Firefox sending header "Accept-Language:
  chrome://global/locale/intl.properties"

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/643899/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to