360c1ee836
The custom setPermissionCheckHandler only allowed media/audioCapture/ videoCapture, which made Electron deny the 'automatic-fullscreen' permission consulted during HTML5 video requestFullscreen(). The request handler's isMediaCapturePermission() also returned false for 'fullscreen'. Result: the native fullscreen button on <video controls> in chat silently did nothing. Allow 'fullscreen' + 'automatic-fullscreen' in both handlers. Verified with a minimal Electron repro using Hermes' exact handlers: requestFullscreen() failed with 'TypeError: Permissions check failed' before; works after. User-verified in the packaged desktop app.