📝 Remove additional whitespaces
[ci skip]
This commit is contained in:
parent
b6f8dcea20
commit
66f4701d93
1 changed files with 2 additions and 2 deletions
|
@ -295,9 +295,9 @@ myWindow.webContents.session.setCertificateVerifyProc(function(hostname, cert, c
|
||||||
|
|
||||||
* `handler` Function
|
* `handler` Function
|
||||||
* `webContents` Object - [WebContents](web-contents.md) requesting the permission.
|
* `webContents` Object - [WebContents](web-contents.md) requesting the permission.
|
||||||
* `permission` String - Enum of 'media', 'geolocation', 'notifications', 'midiSysex',
|
* `permission` String - Enum of 'media', 'geolocation', 'notifications', 'midiSysex',
|
||||||
'pointerLock', 'fullscreen', 'openExternal'.
|
'pointerLock', 'fullscreen', 'openExternal'.
|
||||||
* `callback` Function - Allow or deny the permission.
|
* `callback` Function - Allow or deny the permission.
|
||||||
|
|
||||||
Sets the handler which can be used to respond to permission requests for the `session`.
|
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.
|
Calling `callback(true)` will allow the permission and `callback(false)` will reject it.
|
||||||
|
|
Loading…
Reference in a new issue