Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(6e4bc25e-f056-4c6c-b27e-89152ca91834)]
interface nsIDOMStorageManager : nsISupports

Methods

 Clear keys owned by offline applications.  All data owned by a domain
 with the "offline-app" permission will be removed from the database.
void clearOfflineApps()
 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.

 @param aOwnerDomain The domain to check.
 @returns the space usage of the domain, in bytes.
long getUsage(in AString aOwnerDomain)