Class Options
Util to manage firefox preferences
Panels send commands to request option change.
Backend responds with events when the change is accepted.
Defined in: options.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Options()
|
Method Attributes | Method Name and Description |
---|---|
<static> |
Options.resetAllOptions()
Resets all Firebug options to default state.
|
<static> |
Options.setPref(prefDomain,, name, value, prefType)
Set a preference value.
|
Method Detail
<static>
Options.resetAllOptions()
Resets all Firebug options to default state. Note that every option
starting with "extensions.firebug" is considered as a Firebug option.
Options starting with DBG_ are intended for Firebug Tracing Console (FBTrace)
and ignored (their state is not changed).
<static>
Options.setPref(prefDomain,, name, value, prefType)
Set a preference value.
- Parameters:
- prefDomain,
- e.g. "extensions.firebug"
- name
- Name of the preference (the part after prfDomain without dot)
- value
- New value for the preference.
- prefType
- optional pref type useful when adding a new preference.