Closed
Bug 1021900
Opened 10 years ago
Closed 9 years ago
Preference intl.charset.default referenced but not used on fonts.xul
Categories
(Thunderbird :: Preferences, defect)
Thunderbird
Preferences
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1140720
People
(Reporter: javirid, Unassigned)
References
Details
On http://mxr.mozilla.org/comm-central/source/mail/components/preferences/fonts.xul#40 there is a reference to intl.charset.default preference but it is never used nor in the XUL neither on corresponding JS. http://mxr.mozilla.org/comm-central/search?string=intl.charset.default
It is defined in the l10n files: http://mxr.mozilla.org/l10n-central/search?string=intl.charset.default
Reporter | ||
Updated•10 years ago
|
Summary: Preference intl.charset.default defined but not used on fonts.xul → Preference intl.charset.default referenced but not used on fonts.xul
This is probably due to the recent reworks of the charset menus in toolkit and resulting breakage of many charset menupopup throughout c-c. I think there was a bug for it already.
Reporter | ||
Comment 3•10 years ago
|
||
Neither fonts.xul nor fonts.js haven't used this preference ever. http://mxr.mozilla.org/comm-central/source/mail/components/preferences/fonts.xul?rev=e4f4569d451a http://mxr.mozilla.org/comm-central/source/mail/components/preferences/fonts.js?rev=e4f4569d451a#167 Those are the older versions available on comm-central repository. At the XUL file, it just appears at the <preference> block. At the JS file, there is no single line of code trying to access it. What I am asking myself is why it is necessary to reference in XUL a <preference> but not using it at all :/ :\
OK, this pref doesn't seem to be used anywhere in the tree: http://mxr.mozilla.org/comm-central/search?string=intl.charset.default&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=comm-central, only in one instance at editor. It is also seen in the Seamonkey preferences at /suite/common/pref/pref-languages.xul without any JS usage.
Either we need to do what bug 934492 is doing for SM, or we do not need it in Thunderbird.
Comment 6•9 years ago
|
||
Reference removed as part of bug 1140720.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•