Obsolete since Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
nsIDOMEvent Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)
When a DOM storage event is received, the recipient can check its domain attribute to determine which domain's data store has changed. If the value of the domain attribute is "#session", then the session storage has changed.
nsIDOMStorageEvent interface instead.void initStorageEvent(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString keyArg, in DOMString oldValueArg, in DOMString newValueArg, in DOMString urlArg, in nsIDOMStorage storageAreaArg); |
| Attribute | Type | Description |
domain |
DOMString |
The domain of the storage area which changed, or "#session" if the event represents a change to session storage. Read only. |
Initializes a storage event.
void initStorageEvent( in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString domainArg );
typeArgcanBubbleArgtrue if the event is allowed to bubble, otherwise false.cancelableArgtrue if the event can be canceled, otherwise false.domainArgStorageStorageEventnsIDOMStorageItem