ReadonlyclosedWhether this lock is invalid (closed).
Event handler called when a settings transaction fails.
Event handler called when a settings transaction completes successfully.
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsClears all settings.
A DOMRequest that indicates the success or failure of the operation.
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Gets the value of a specific setting.
The name of the setting to retrieve.
A DOMRequest where the result contains the value of the setting.
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptionsSets one or more settings.
A JSON object with name/value pairs to be set.
A DOMRequest that indicates the success or failure of the operation.
Preference
dom.mozSettings.enabled