bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.
User Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0 (Beta/Release) Build ID: 20130509111054 Steps to reproduce: Set the valueFromPreferences property (or the value property in instant apply mode) of a preference element to undefined Actual results: The preference is cleared to its default value but the preference file is not flushed to disk. In the event of a crash, the preference would retain the value from before it was cleared. Expected results: When preferences are set to a value other than undefined using a preference element, the preference is changed and then the file flushed to disk. Seems like this should be done for both setting and clearing.
I noticed this when setting and clearing multiple preferences. Creating them was extremely slow due to the repeated synchronous flushes of the prefs file, but clearing them was fast.
Component: Untriaged → Preferences: Backend
Product: Firefox → Core
Whiteboard: [bugday-20131021] → [bugday-20131028][DUPEME?]
Component: Preferences: Backend → Preferences
Product: Core → Firefox
You need to log in before you can comment on or make changes to this bug.