From 22516b903a684f09bc30a78d8fbd9352d378e04c Mon Sep 17 00:00:00 2001 From: DongHyun Song Date: Thu, 30 Nov 2023 07:42:36 +0000 Subject: [PATCH] Revert "Add privilege check for fullscreen request" This reverts commit 4d98af15a6f3630ff0a537e27990fb217aa75421. Change-Id: Iec5a5c7dca97161a3108d1e5bcd17101c2210cb0 --- wrt_app/src/web_application.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wrt_app/src/web_application.ts b/wrt_app/src/web_application.ts index 56541a92..3c8d7991 100644 --- a/wrt_app/src/web_application.ts +++ b/wrt_app/src/web_application.ts @@ -110,11 +110,6 @@ export class WebApplication { 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 -- 2.34.1