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.

nsIDOMStorageManager

IID:6e4bc25e-f056-4c6c-b27e-89152ca91834
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void clearOfflineApps ( ) PRInt32 getUsage ( AString ownerDomain )

void clearOfflineApps ( )

Clear keys owned by offline applications. All data owned by a domain with the "offline-app" permission will be removed from the database.


PRInt32 getUsage ( AString ownerDomain )

Return the amount of disk space used by a domain. Usage is checked against the domain of the page that set the key (the owner domain), not the domain of the storage object.

Arguments:
ownerDomain: The domain to check.

Reference documentation is generated from Mozilla's source.