StorageEvent is sent to a window when a storage area it has access to is changed within the context of another document.
Note: Although this event existed prior to Gecko 2.0, it did not match the specification. The old event format is now represented by the
||Represents the key changed. The
||The new value of the
||The original value of the
||Represents the Storage object that was affected. Read only.|
||The URL of the document whose
Initializes the event in a manner analogous to the similarly-named method in the DOM Events interfaces.
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 );
- The name of the event.
- A boolean indicating whether the event bubbles up through the DOM or not.
- A boolean indicating whether the event is cancelable.
- The key whose value is changing as a result of this event.
- The key's old value.
- The key's new value.
- The URL of the document initiating the change.
- The DOM
Storageobject representing the storage area on which this event occurred.