docs: fix invalid optional declaration (#18780)

This commit is contained in:
Samuel Attard
2019-06-13 15:56:03 -07:00
committed by GitHub
parent 5e320291b4
commit 390e7f5719

View File

@@ -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