Revert "Add privilege check for fullscreen request" 97/302097/1 submit/tizen/20231130.160026
authorDongHyun Song <dh81.song@samsung.com>
Thu, 30 Nov 2023 07:42:36 +0000 (07:42 +0000)
committerDongHyun Song <dh81.song@samsung.com>
Thu, 30 Nov 2023 07:42:36 +0000 (07:42 +0000)
This reverts commit 4d98af15a6f3630ff0a537e27990fb217aa75421.

Change-Id: Iec5a5c7dca97161a3108d1e5bcd17101c2210cb0

wrt_app/src/web_application.ts

index 56541a9..3c8d799 100644 (file)
@@ -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