PermissionDescriptor Properties |
The PermissionDescriptor type exposes the following members.
Name | Description | |
---|---|---|
AllowWithoutSanitization |
For "clipboard" permission, may specify allowWithoutSanitization.
| |
Name |
Name of permission.
See https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/permissions/permission_descriptor.idl for valid permission names.
| |
Sysex |
For "midi" permission, may also specify sysex control.
| |
Type |
For "wake-lock" permission, must specify type as either "screen" or "system".
| |
UserVisibleOnly |
For "push" permission, may specify userVisibleOnly.
Note that userVisibleOnly = true is the only currently supported type.
|