SitePermissionsManager
interface SitePermissionsManager
Public interface for managing site permissions data
Types
Functions
Link copied to clipboard
Deletes all site permissions but the ones that are fireproof
Link copied to clipboard
abstract suspend fun getPermissionsQueryResponse(url: String, tabId: String, queriedPermission: String): SitePermissionsManager.SitePermissionQueryResponse
Returns the proper response for a permissions.query JavaScript API call - see https://developer.mozilla.org/en-US/docs/Web/API/Permissions/query
Link copied to clipboard
abstract suspend fun getSitePermissions(tabId: String, request: PermissionRequest): SitePermissionsManager.SitePermissions
Returns an array of permissions that we support and the user has to manually handle