es-module-shims icon indicating copy to clipboard operation
es-module-shims copied to clipboard

es-module-shims makes request to browser internal data (blob:...) requiring specific CSP policy

Open jean553 opened this issue 1 year ago • 1 comments

By loading the library, we can see the browser making some requests to cached data stored on the browser memory: blob:https://our-domain/....

This request is made from es-module-shims.js.

We have very strict CSP policies. Is this call to cache really necessary and is there a way to disable it ?

jean553 avatar Nov 27 '23 14:11 jean553

Yes, this is necessary, as that is how the polyfill operates in rewriting the specifiers using blob URLs.

guybedford avatar Nov 29 '23 06:11 guybedford