Back to index

lightning-sunbird  0.9+nobinonly
Public Attributes
nsIPermission Interface Reference

This interface defines a "permission" object, used to specify allowed/blocked objects from user-specified sites (cookies, images etc). More...

import "nsIPermission.idl";

Inheritance diagram for nsIPermission:
Inheritance graph
[legend]
Collaboration diagram for nsIPermission:
Collaboration graph
[legend]

List of all members.

Public Attributes

readonly attribute AUTF8String host
 The name of the host for which the permission is set.
readonly attribute ACString type
 a case-sensitive ASCII string, indicating the type of permission (e.g., "cookie", "image", etc).
readonly attribute PRUint32 capability
 The permission (see nsIPermissionManager.idl for allowed values)

Detailed Description

This interface defines a "permission" object, used to specify allowed/blocked objects from user-specified sites (cookies, images etc).

Definition at line 49 of file nsIPermission.idl.


Member Data Documentation

The permission (see nsIPermissionManager.idl for allowed values)

Definition at line 68 of file nsIPermission.idl.

readonly attribute AUTF8String nsIPermission::host

The name of the host for which the permission is set.

Definition at line 54 of file nsIPermission.idl.

readonly attribute ACString nsIPermission::type

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 also:
nsIPermissionManager

Definition at line 63 of file nsIPermission.idl.


The documentation for this interface was generated from the following file: