Better field names for details object
This commit is contained in:
parent
4d7b85bd01
commit
4fd8b04329
3 changed files with 8 additions and 10 deletions
|
@ -294,8 +294,7 @@ win.webContents.session.setCertificateVerifyProc((request, callback) => {
|
|||
* `callback` Function
|
||||
* `permissionGranted` Boolean - Allow or deny the permission.
|
||||
* `details` Object - Some properties are only available on certain permission types.
|
||||
* `url` String - The url of the `openExternal` request.
|
||||
* `scheme` String - The protocol scheme of the `openExternal` request.
|
||||
* `externalURL` String - The url of the `openExternal` request.
|
||||
|
||||
Sets the handler which can be used to respond to permission requests for the `session`.
|
||||
Calling `callback(true)` will allow the permission and `callback(false)` will reject it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue