console.log(`Raising a geolocation permission request with id: ${id}`);
this.pendingCallbacks.set(id, callback);
wrt.handleGeolocationPermissionRequest(id, webContents);
- } else if (permission === 'fullscreen') {
- const id = ++this.pendingID;
- console.log(`Raising a fullscreen permission request with id: ${id}`);
- this.pendingCallbacks.set(id, callback);
- wrt.handleFullScreenPermissionRequest?.(id, webContents);
} else {
/* electron by default allows permission for all if no request handler
is there; so granting permission only temporarily to not have any