docs: fix invalid optional declaration (#18780)
This commit is contained in:
parent
5e320291b4
commit
390e7f5719
1 changed files with 2 additions and 2 deletions
|
@ -290,8 +290,8 @@ 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.
|
||||
* `externalURL` String (Optional) - The url of the `openExternal` request.
|
||||
* `mediaTypes` String[] (Optional) - The types of media access being requested, elements can be `video`
|
||||
* `externalURL` String (optional) - The url of the `openExternal` 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
|
||||
* `isMainFrame` Boolean - Whether the frame making the request is the main frame
|
||||
|
|
Loading…
Reference in a new issue