ace.js: Don't use srcdoc when creating iframes (see #4975)

Using srcdoc, especially with multiple nested iframes, seems to be
problematic when using `self` in CSP policies.
This commit is contained in:
webzwo0i 2021-07-20 18:50:18 +02:00 committed by Richard Hansen
parent 9fda5adcef
commit e61888dfe2
2 changed files with 5 additions and 2 deletions

1
src/static/empty.html Normal file
View file

@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>Empty</title></head><body></body></html>