data class GrantPermissionsRequest
(source)
Represents request frame that can be used with Browser.grantPermissions method call.
Grant specific permissions to the given origin and reject all others.
GrantPermissionsRequest(origin: String, permissions: List<PermissionType>, browserContextId: BrowserContextID? = null)
Represents request frame that can be used with Browser.grantPermissions method call. |
val browserContextId: BrowserContextID?
BrowserContext to override permissions. When omitted, default browser context is used. |
|
val origin: String |
|
val permissions: List<PermissionType> |