Closed Bug 1419654 Opened 7 years ago Closed 7 years ago

Prevent possible pref default/user value type mismatches

Categories

(Core :: Preferences: Backend, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(1 file)

Currently, you can create a pref that only has a user value, and then later
give it a default value with a different type. The entire pref is then recorded
as having this second type. This causes problems later when interpreting the
user value.
Comment on attachment 8930805 [details]
Bug 1419654 - Prevent possible pref default/user value type mismatches.

https://reviewboard.mozilla.org/r/201898/#review207252
Attachment #8930805 - Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/4c24fa3a323b29d2a64188f83412eaa89a26a231
Bug 1419654 - Prevent possible pref default/user value type mismatches. r=glandium
https://hg.mozilla.org/mozilla-central/rev/4c24fa3a323b
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: