@mozilla.org/permissionmanager;1

This component implements the following interfaces:

Constants

Predefined return values for the testPermission method and for the permission param of the add method
PRUint32 nsIPermissionManager.UNKNOWN_ACTION = 0
PRUint32 nsIPermissionManager.ALLOW_ACTION = 1
PRUint32 nsIPermissionManager.DENY_ACTION = 2

Properties

readonly nsISimpleEnumerator nsIPermissionManager.enumerator

Allows enumeration of all stored permissions

Methods

InterfaceMethod
nsIPermissionManager void add ( nsIURI uri , char* type , PRUint32 permission )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsIPermissionManager void remove ( AUTF8String host , char* type )
nsIPermissionManager void removeAll ( )
nsIPermissionManager PRUint32 testPermission ( nsIURI uri , char* type )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com