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.

fuelISessionStorage

IID:0787ac44-29b9-4889-b97f-13573aec6971
Inherits From:nsISupports

Properties

readonly fuelIEvents events

The events object for the storage supports: "change"


Methods

nsIVariant get ( AString name , nsIVariant defaultValue ) PRBool has ( AString name ) void set ( AString name , nsIVariant value )

nsIVariant get ( AString name , nsIVariant defaultValue )

Gets the value of a storage item with the given name. Returns a default value if the item does not exist.

Arguments:
name: The name of an item
defaultValue: The value to return if no item exists with the given name

PRBool has ( AString name )

Determines if a storage item exists with the given name.

Arguments:
name: The name of an item

void set ( AString name , nsIVariant value )

Sets the value of a storage item with the given name.

Arguments:
name: The name of an item
value: The value to assign to the item

References

This interface is the type of the following properties:

fuelIApplication.storage, fuelIExtension.storage

Reference documentation is generated from Mozilla's source.