Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.
This repository was archived by the owner on May 24, 2022. It is now read-only.

Implement Request handler for permissions #539

@Tbaut

Description

@Tbaut

No request handler for permissions is implemented. If the application implements any
webview components that trigger permissions, such as notifications, the permissions will
be silently accepted without input from the user.

We should implement one to block any permission except for the webcam

session
. fromPartition ( 'some-partition' )
. setPermissionRequestHandler ((webContents, permission, callback) => {
// check for the webcam otherwise return callback ( false )
})

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions