Revert "DEV: Disable ACE editor worker blobs"

This reverts commit d5463d2a4d.

With S3 assets, CORS prevents loading worker assets directly.
This commit is contained in:
David Taylor
2020-08-14 14:11:28 +01:00
parent 35d9d668c3
commit 3cf93e9a8f
3 changed files with 5 additions and 3 deletions

View File

@@ -33,9 +33,11 @@ describe ContentSecurityPolicy do
end
describe 'worker-src' do
it 'always has script srcs' do
it 'has expected values' do
worker_srcs = parse(policy)['worker-src']
expect(worker_srcs).to eq(%w[
'self'
blob:
http://test.localhost/assets/
http://test.localhost/brotli_asset/
http://test.localhost/javascripts/