WebIDLpedia

PermissionsPolicy interface

Definition

Permissions Policy defines PermissionsPolicy

[Exposed=Window]
interface PermissionsPolicy {
  boolean allowsFeature(DOMString feature, optional DOMString origin);
  sequence<DOMString> features();
  sequence<DOMString> allowedFeatures();
  sequence<DOMString> getAllowlistForFeature(DOMString feature);
};

Methods and attributes that return objects implementing PermissionsPolicy

Referring IDL interfaces/dictionaries