puppeteer/new-docs/puppeteer.protocol.browser.permissiondescriptor.md
Johan Bay 49f25e2412
feat(chromium) roll Chromium to r809590 (#6458)
This corresponds to Chromium 87.0.4272.0
This roll includes:
- Reland "idle-detection: Implement requestPermission() method"
  (crrev.com/c/2417779)
2020-10-01 08:24:47 +02:00

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.