nsIPermission

IID:28F16D80-157B-11d5-A542-0010A401EB10
Inherits From:nsISupports

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

This interface is implemented by the following components:


Properties

readonly PRUint32 capability

The permission (see nsIPermissionManager.idl for allowed values)

readonly AUTF8String host

The name of the host for which the permission is set

readonly ACString 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.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com