fix: also pass securityOrigin to media permissions request handler (#31357)
This commit is contained in:
parent
a751845afc
commit
b2a2b077da
3 changed files with 29 additions and 0 deletions
|
@ -618,6 +618,7 @@ win.webContents.session.setCertificateVerifyProc((request, callback) => {
|
|||
* `permissionGranted` Boolean - Allow or deny the permission.
|
||||
* `details` Object - Some properties are only available on certain permission types.
|
||||
* `externalURL` String (optional) - The url of the `openExternal` request.
|
||||
* `securityOrigin` String (optional) - The security origin of the `media` request.
|
||||
* `mediaTypes` String[] (optional) - The types of media access being requested, elements can be `video`
|
||||
or `audio`
|
||||
* `requestingUrl` String - The last URL the requesting frame loaded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue