Closed
Bug 108236
Opened 23 years ago
Closed 23 years ago
charsetOverlay.js treats "intl.charset.detector" pref incorrectly
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: bnesse, Assigned: bnesse)
References
Details
Attachments
(1 file, 1 obsolete file)
10.35 KB,
patch
|
tetsuroy
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
This may, or may not, have some impact on some of the currently open charset
detector bugs.
While converting the JS files from the nsIPref to the
nsIPrefService/nsIPrefBranch interfaces, I noticed that the preference
"intl.charset.detector" was being read in as a LocalizedUnicharPref and written
out as a CharPref. This is wrong. A preference read in as LocalizedUnicharPref
should be written out as a Unichar preference.
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
The proposed patch fixes the read/write issues, removes some tabs and makes all
of the whitespace consistent.
Assignee | ||
Comment 3•23 years ago
|
||
Sorry, forgot to mention... This patch is not fully tested due to being blocked
by bug 107786 (no menus).
Updated•23 years ago
|
Comment 4•23 years ago
|
||
bnesse: On the other hand, I think you should own this bug.
I'll test your patch.
->bnesse
Assignee: yokoyama → bnesse
Status: ASSIGNED → NEW
Assignee | ||
Comment 5•23 years ago
|
||
I have tested this as far as I can. The functions which set the preference are
apparently never called, probably due to the wrong attribute name being returned
from the event (bug 106749). Clearing blocker status as this is not blocking 106749.
Assignee | ||
Comment 6•23 years ago
|
||
Setting 106749 as blocking this bug. I think this is what Roy really meant to do
in the first place.
Depends on: 106749
Assignee | ||
Comment 7•23 years ago
|
||
I've updated the patch because recent changes to charsetOverlay.js cause merge
conflicts with the old one. With waterson's checkin for bug 106749 in on the
trunk I have now successfully tested the patch.
Attachment #56280 -
Attachment is obsolete: true
Comment 8•23 years ago
|
||
Comment on attachment 57518 [details] [diff] [review]
Patch updated for charsetOverlay.js changes.
/r=yokoyama
Thanks, Brian
Attachment #57518 -
Flags: review+
Comment 9•23 years ago
|
||
Comment on attachment 57518 [details] [diff] [review]
Patch updated for charsetOverlay.js changes.
sr=alecf
Attachment #57518 -
Flags: superreview+
Assignee | ||
Comment 10•23 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•