diff --git a/docs/api/session.md b/docs/api/session.md index 74c35cd0fd..1b0116c118 100644 --- a/docs/api/session.md +++ b/docs/api/session.md @@ -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