struct Protocol::Browser::PermissionDescriptor
- Protocol::Browser::PermissionDescriptor
- Struct
- Value
- Object
Overview
Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
Included Modules
- JSON::Serializable
Defined in:
protocol/browser.crConstructors
Instance Method Summary
-
#allow_without_sanitization : Bool | Nil
For "clipboard" permission, may specify allowWithoutSanitization.
-
#name : String
Name of permission.
-
#pan_tilt_zoom : Bool | Nil
For "camera" permission, may specify panTiltZoom.
-
#sysex : Bool | Nil
For "midi" permission, may also specify sysex control.
-
#user_visible_only : Bool | Nil
For "push" permission, may specify userVisibleOnly.
Constructor Detail
Instance Method Detail
def allow_without_sanitization : Bool | Nil
#
For "clipboard" permission, may specify allowWithoutSanitization.
def 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.
def user_visible_only : Bool | Nil
#
For "push" permission, may specify userVisibleOnly. Note that userVisibleOnly = true is the only currently supported type.