Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jean553 opened this issue Nov 27, 2023 · 1 comment

Comments

@jean553
Copy link

jean553 commented Nov 27, 2023

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 ?

@guybedford
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants