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