Firefox 28 doesn't use intl.accept_languages defined in syspref.js
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
We have system-wide settings defined in /etc/firefox/
Firefox 28 (28.0+build2-
It only works, if the intl.accept_
This worked in previous Firefox versions (e.g. 27 or older).
the corresponding line in syspref.js is:
pref("intl.
about:config shows:
intl.accept_
accept languages, which are sent in HTTP Header (this is the default from the firefox-locale-de package) :
"de,en-us,en"
I have to correct something:
It seems older Firefox versions had the same problem, but it wasn't obvious, because the default accept_languages of the firefox-locale-de package were already "de-de, de,en-us, en". In Firefox 28 the default was changed to "de,en-us,en".
Nevertheless the problem is still, that Firefox reads the setting from syspref.js and displays this correctly in about:config, but doesn't use this value when constructing the HTTP header. The problem seems to be this test: http:// mxr.mozilla. org/mozilla- central/ source/ modules/ libpref/ src/nsPrefBranc h.cpp#232
So the accept_languages will only be used, when they are set by a user pref, or a locked pref, but not with a "simple" pref in syspref.js.