Definition
Permissions defines Permissions
[Exposed=(Window,Worker)]
interface Permissions {
Promise<PermissionStatus> query(object permissionDesc);
};
This interface is extended in the following specifications:
- Requesting Permissions
partial interface Permissions { Promise<PermissionStatus> request(object permissionDesc); };
- Relinquishing Permissions
partial interface Permissions { Promise<PermissionStatus> revoke(object permissionDesc); };
Consolidated IDL (across mixin and partials)
[Exposed=(Window,Worker)]
interface Permissions {
Promise<PermissionStatus> query(object permissionDesc);
Promise<PermissionStatus> request(object permissionDesc);
Promise<PermissionStatus> revoke(object permissionDesc);
};
Methods and attributes that return objects implementing Permissions
Referring IDL interfaces/dictionaries
Referring specifications
- Requesting Permissions refers to
Permissions
- Relinquishing Permissions refers to
Permissions