This is an archived page. It's not actively maintained.


This interface provides access to a DOM window's client side storage objects. All DOM windows inherit from this interface.
Gecko 1.8.1
Gecko 8.0
Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

In Gecko 8.0 this interface has been merged into nsIDOMWindow, and this interface has been removed.


Attribute Type Description
globalStorage nsIDOMStorageList Global storage, accessible by domain. Read only.
localStorage nsIDOMStorage Local storage for the current browsing context. Data stored in local storage may only be accessed from the same origin that inserted the data into storage in the first place. Read only.
moz_indexedDB nsIIDBFactory Indexed Databases for the current browsing context. Read only.
sessionStorage nsIDOMStorage Session storage for the current browsing context. Data stored in session storage may be accessed by any site in the browsing context. Read only.

See also