This interface defines a "permission" object, used to specify allowed/blocked objects from user-specified sites (cookies, images etc).
[scriptable, uuid(28f16d80-157b-11d5-a542-0010a401eb10)]
interface nsIPermission : nsISupports
Attributes
The permission (see nsIPermissionManager.idl for allowed values)
readonly attribute
PRUint32
capability
The name of the host for which the permission is set
readonly attribute
AUTF8String
host
a case-sensitive ASCII string, indicating the type of permission (e.g., "cookie", "image", etc). This string is specified by the consumer when adding a permission via nsIPermissionManager. @see nsIPermissionManager
readonly attribute
ACString
type
Compare to: