[scriptable, uuid(2c7462e2-72c2-4473-9007-0e6ae71e23ca)]
interface extIPreference : nsISupports

Attributes

 The preference branch that contains this preference.
readonly attribute extIPreferenceBranch branch
 The events object for this preference.
 supports: "change"
readonly attribute extIEvents events
 Get the locked state of the preference. Set to a boolean value to (un)lock it.
attribute boolean locked
 Check if a preference has been modified by the user, or not.
readonly attribute boolean modified
 Interface for accessing a single preference. The data is not cached.
 All reads access the current state of the preference.


 The name of the preference.
readonly attribute AString name
 A string representing the type of preference (String, Boolean, or Number).
readonly attribute AString type
 Get/Set the value of the preference.
attribute nsIVariant value

Methods

 Resets a preference back to its default values.
void reset()