[Bug 643899]

Rnewman-e 643899 at bugs.launchpad.net
Wed Sep 17 01:50:00 UTC 2014


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 Mozilla
Bugs, which is subscribed to firefox in 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




More information about the Ubuntu-mozillateam-bugs mailing list