WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/dom/storage;1

This component implements the following interfaces:

Properties

readonly PRUint32 nsIDOMStorage.length

The number of keys stored.

Methods

InterfaceMethod
nsIDOMStorage nsIDOMStorageItem getItem ( DOMString key )
nsIDOMStorage DOMString key ( PRUint32 index )
nsIDOMStorage void removeItem ( DOMString key )
nsIDOMStorage void setItem ( DOMString key , DOMString data )

Reference documentation is generated from Mozilla's source.