From 89aa02ccec2b6b907150d7f7ddfa565223797bf6 Mon Sep 17 00:00:00 2001 From: jelveh Date: Mon, 16 Dec 2024 12:58:51 -0800 Subject: [PATCH] allow web-share in iframes --- src/gui/src/UI/UIWindow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/src/UI/UIWindow.js b/src/gui/src/UI/UIWindow.js index bd80baaa8..99bce7db0 100644 --- a/src/gui/src/UI/UIWindow.js +++ b/src/gui/src/UI/UIWindow.js @@ -341,7 +341,7 @@ async function UIWindow(options) { style="${!options.has_head ? ' height: 100%;' : ''}">`; // iframe, for apps if(options.iframe_url || options.iframe_srcdoc){ - let allow_str = `camera; encrypted-media; gamepad; display-capture; geolocation; gyroscope; microphone; midi; clipboard-read; clipboard-write; fullscreen;`; + let allow_str = `camera; encrypted-media; gamepad; display-capture; geolocation; gyroscope; microphone; midi; clipboard-read; clipboard-write; fullscreen; web-share;`; if(window.co_isolation_enabled) allow_str += ' cross-origin-isolated;'; //