You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a CSP that defines script-src. Chrome/Edge applies that to workers/iframes while Safari doesn't:
[Error] Refused to load http://localhost:9777/static/out/vs/base/worker/workerMain.js#editorWorkerService because it appears in neither the child-src directive nor the default-src directive of the Content Security Policy.
It looks like it wants the child-src directive which after looking at the spec seems actually correct. Tho, we should also try the worker-src directive
The text was updated successfully, but these errors were encountered:
Yeah, seems like [worker|frame]-src is the future. FF prints a warning when using child-src, safari prints a warning when using worker-src... 🤷♂ I will add both to make them all happy...
We have a CSP that defines script-src. Chrome/Edge applies that to workers/iframes while Safari doesn't:
It looks like it wants the
child-src
directive which after looking at the spec seems actually correct. Tho, we should also try theworker-src
directiveThe text was updated successfully, but these errors were encountered: