Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Browser.PermissionDescriptor
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { PermissionDescriptor } = Protocol.Browser;

Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dictdef-permissiondescriptor.

Properties

optional
sysex: boolean

For "midi" permission, may also specify sysex control.

optional
userVisibleOnly: boolean

For "push" permission, may specify userVisibleOnly. Note that userVisibleOnly = true is the only currently supported type.

optional
allowWithoutSanitization: boolean

For "clipboard" permission, may specify allowWithoutSanitization.

optional
panTiltZoom: boolean

For "camera" permission, may specify panTiltZoom.