From 95fa5d80189793be5530f16ad91bf4af408549ee Mon Sep 17 00:00:00 2001 From: Rachel Lim Date: Wed, 14 Dec 2022 20:28:38 -0500 Subject: [PATCH] add bluetooth to permissions policy for iframes --- client/modules/IDE/components/PreviewFrame.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/modules/IDE/components/PreviewFrame.jsx b/client/modules/IDE/components/PreviewFrame.jsx index 5fd51abd96..f14d29c871 100644 --- a/client/modules/IDE/components/PreviewFrame.jsx +++ b/client/modules/IDE/components/PreviewFrame.jsx @@ -24,7 +24,7 @@ function PreviewFrame({ fullView }) { const frameUrl = previewUrl; const sandboxAttributes = `allow-forms allow-modals allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-top-navigation-by-user-activation allow-downloads`; - const allow = `accelerometer; ambient-light-sensor; autoplay; camera; encrypted-media; geolocation; gyroscope; \ + const allow = `accelerometer; ambient-light-sensor; autoplay; bluetooth; camera; encrypted-media; geolocation; gyroscope; \ hid; microphone; magnetometer; midi; payment; usb; serial; vr; xr-spatial-tracking`; return (