This interface provides access to a DOM window's client side storage objects. All DOM windows inherit from this interface.
1.0
28
Introduced
Gecko 1.8.1
Obsolete
Gecko 8.0
Inherits from:
nsISupports
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)Gecko 8.0 note
In Gecko 8.0 this interface has been merged into nsIDOMWindow
, and this interface has been removed.
Attributes
Attribute | Type | Description |
globalStorage |
|
Global storage, accessible by domain. Read only. |
localStorage |
|
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 |
|
Indexed Databases for the current browsing context. Read only. |
sessionStorage |
|
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
- DOM Storage
- Structured client-side storage (HTML 5 specification)
- Indexed Database APIWD
nsIDOMStorage
nsIDOMStorage2
nsIDOMStorageList