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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class HaPanelIframe extends PolymerElement {
<iframe <iframe
src="[[panel.config.url]]" 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" allowfullscreen="true"
webkitallowfullscreen="true" webkitallowfullscreen="true"
mozallowfullscreen="true" mozallowfullscreen="true"