nsICookieManager
IID: | AAAB6710-0F2C-11d5-A53B-0010A401EB10 |
Inherits From: | nsISupports |
Status: | FROZEN |
An optional interface for accessing or removing the cookies that are in the cookie list
This interface is intended to be used as a service. To create an object implementing this interface:
var obj = Components.classes["@mozilla.org/cookiemanager;1"]. getService(Components.interfaces.nsICookieManager);
This interface is implemented by the following components:
Properties
readonly nsISimpleEnumerator enumerator
Called to enumerate through each cookie in the cookie list. The objects enumerated over are of type nsICookie
Methods
void remove ( AUTF8String domain , ACString name , AUTF8String path , PRBool blocked )
void removeAll ( )
void remove ( AUTF8String domain , ACString name , AUTF8String path , PRBool blocked )
Called to remove an individual cookie from the cookie list
- Arguments:
- domain: The host or domain for which the cookie was set
- name: The name specified in the cookie
- path
- blocked: Indicates if cookies from this host should be permanently blocked
Reference documentation is generated from Mozilla's source.