From a12602dbc37ba2fa0e2ef3759fc0780e8fc5083e Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 21 Jul 2020 20:49:37 +0900 Subject: [PATCH] docs: document missing permission types (#24660) --- docs/api/session.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/session.md b/docs/api/session.md index c780d9c4a094..57fda024fa37 100644 --- a/docs/api/session.md +++ b/docs/api/session.md @@ -350,8 +350,10 @@ win.webContents.session.setCertificateVerifyProc((request, callback) => { * `webContents` [WebContents](web-contents.md) - WebContents requesting the permission. Please note that if the request comes from a subframe you should use `requestingUrl` to check the request origin. * `permission` String - The type of requested permission. * `media` - Request access to media devices such as camera, microphone and speakers. + * `mediaKeySystem` - Request access to DRM protected content. * `geolocation` - Request access to user's current location. * `notifications` - Request notification creation and the ability to display them in the user's system tray. + * `midi` - Request MIDI access in the `webmidi` API. * `midiSysex` - Request the use of system exclusive messages in the `webmidi` API. * `pointerLock` - Request to directly interpret mouse movements as an input method. Click [here](https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API) to know more. * `fullscreen` - Request for the app to enter fullscreen mode.