1.6 KiB
1.6 KiB
Home > puppeteer > Protocol > Browser > PermissionDescriptor
Protocol.Browser.PermissionDescriptor interface
Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
Signature:
export interface PermissionDescriptor
Properties
Property | Type | Description |
---|---|---|
allowWithoutSanitization | boolean | For "clipboard" permission, may specify allowWithoutSanitization. |
name | string | Name of permission. See https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/permissions/permission_descriptor.idl for valid permission names. |
sysex | boolean | For "midi" permission, may also specify sysex control. |
type | string | For "wake-lock" permission, must specify type as either "screen" or "system". |
userVisibleOnly | boolean | For "push" permission, may specify userVisibleOnly. Note that userVisibleOnly = true is the only currently supported type. |