This interface defines a “permission” object,
used to specify allowed/blocked objects from
user-specified sites (cookies, images etc).
The name of the host for which the permission is set
The id of the app for which the permission is set.
Whether the permission has been set to a page inside a browser element.
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
The permission (see nsIPermissionManager.idl for allowed values)
The expiration type of the permission (session, time-based or none).
Constants are EXPIRE_*, defined in nsIPermissionManager.
@see nsIPermissionManager
The expiration time of the permission (milliseconds since Jan 1 1970
0:00:00).