49f25e2412
This corresponds to Chromium 87.0.4272.0 This roll includes: - Reland "idle-detection: Implement requestPermission() method" (crrev.com/c/2417779)
1.4 KiB
1.4 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. |
userVisibleOnly | boolean | For "push" permission, may specify userVisibleOnly. Note that userVisibleOnly = true is the only currently supported type. |