WebIDLpedia

Permissions interface

Definition

Permissions defines Permissions



[Exposed=(Window,Worker)]
interface Permissions {
  Promise<PermissionStatus> query(object permissionDesc);
};

This interface is extended in the following specifications:

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