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:


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