Allow form submissions in iframe (#2168)

This commit is contained in:
Jannik Becher 2023-08-18 15:33:59 +01:00 committed by GitHub
parent 7d7e21e44e
commit e90c924082
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ export function initializeIframeSource(iframe, iframePort, iframeUrl) {
return verifyIframeSource(url).then(() => {
iframe.sandbox =
"allow-scripts allow-same-origin allow-downloads allow-modals allow-popups allow-top-navigation";
"allow-scripts allow-same-origin allow-downloads allow-forms allow-modals allow-popups allow-top-navigation";
iframe.allow =
"accelerometer; ambient-light-sensor; camera; display-capture; encrypted-media; fullscreen; geolocation; gyroscope; microphone; midi; usb; xr-spatial-tracking; clipboard-read; clipboard-write";
iframe.src = url;