The XUL store is used to store information related to a XUL document/application.
Typically it is used to store the persisted state for the document, such as
window location, toolbars that are open and nodes that are open and closed in a tree.
The data is serialized to [profile directory]/xulstore.json
Sets a value in the store.
doc | - document URI |
id | - identifier of the node |
attr | - attribute to store |
value | - value of the attribute |
Returns true if the store contains a value for attr.
doc | - URI of the document |
id | - identifier of the node |
attr | - attribute |
Retrieves a value in the store, or an empty string if it does not exist.
doc | - document URI |
id | - identifier of the node |
attr | - attribute to retrieve |
the value of the attribute |
Removes a value in the store.
doc | - document URI |
id | - identifier of the node |
attr | - attribute to remove |
Iterates over all of the ids associated with a given document uri that
have stored data.
doc | - document URI |
Iterates over all of the attributes associated with a given document uri
and id that have stored data.
doc | - document URI |
id | - identifier of the node |