Closed Bug 294192 Opened 19 years ago Closed 19 years ago

[nit] Having prefs without label and help info with group == hidden still spams the console

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

(Whiteboard: [cz-patch][cz-0.9.68.4])

Attachments

(1 file)

When starting ChatZilla with the console open, 4 warnings are given every time
you start it:
WARNING: !!! Preference without label: urls.list
WARNING: Preference without help text: urls.list
WARNING: !!! Preference without label: urls.display
WARNING: Preference without help text: urls.display

To fix those (and make a general fix), the pref manager should check whether
group == 'hidden' before making these warnings.

Patch coming up.
This takes care of the warnings, and should still do so for any subsequent
hidden prefs.
Attachment #183606 - Flags: review?(samuel)
Severity: normal → trivial
Whiteboard: [cz-patch]
Attachment #183606 - Flags: review?(samuel) → review+
Comment on attachment 183606 [details] [diff] [review]
Patch to take the group into account before spewing warnings

Requesting approval for harmless CZ patches
Attachment #183606 - Flags: approval1.8b3?
Blocks: 294816
Whiteboard: [cz-patch] → [cz-patch][cz-0.9.68.4]
Comment on attachment 183606 [details] [diff] [review]
Patch to take the group into account before spewing warnings

a=shaver
Attachment #183606 - Flags: approval1.8b3? → approval1.8b3+
Checked in -> FIXED.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: