add 'allow-download' to iframe sandbox for chrome (#9490)

This commit is contained in:
craiggenner
2021-09-29 13:40:26 +01:00
committed by GitHub
parent e4b4dc4ae9
commit a89da0dac0

View File

@@ -24,7 +24,7 @@ class HaPanelIframe extends PolymerElement {
<iframe
src="[[panel.config.url]]"
sandbox="allow-forms allow-popups allow-pointer-lock allow-same-origin allow-scripts allow-modals"
sandbox="allow-forms allow-popups allow-pointer-lock allow-same-origin allow-scripts allow-modals allow-download"
allowfullscreen="true"
webkitallowfullscreen="true"
mozallowfullscreen="true"