You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`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.
351
351
*`permission` String - The type of requested permission.
352
352
*`media` - Request access to media devices such as camera, microphone and speakers.
353
+
*`mediaKeySystem` - Request access to DRM protected content.
353
354
*`geolocation` - Request access to user's current location.
354
355
*`notifications` - Request notification creation and the ability to display them in the user's system tray.
356
+
*`midi` - Request MIDI access in the `webmidi` API.
355
357
*`midiSysex` - Request the use of system exclusive messages in the `webmidi` API.
356
358
*`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.
357
359
*`fullscreen` - Request for the app to enter fullscreen mode.
0 commit comments