Linux Mac OSX Windows

Implemented by

 
 An optional interface for accessing or removing the cookies
 that are in the cookie list
 
 @status FROZEN
[scriptable, uuid(aaab6710-0f2c-11d5-a53b-0010a401eb10)]
interface nsICookieManager : nsISupports

Attributes

 Called to enumerate through each cookie in the cookie list.
 The objects enumerated over are of type nsICookie
readonly attribute nsISimpleEnumerator enumerator

Methods

 Called to remove an individual cookie from the cookie list

 @param aDomain The host or domain for which the cookie was set
 @param aName The name specified in the cookie
 @param aBlocked Indicates if cookies from this host should be permanently blocked

void remove(in AUTF8String aDomain, in ACString aName, in AUTF8String aPath, in boolean aBlocked)
 Called to remove all cookies from the cookie list
void removeAll()