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

'localStorage' issue with "esm" function. #866

Open
MarketingPip opened this issue Aug 17, 2024 · 1 comment
Open

'localStorage' issue with "esm" function. #866

MarketingPip opened this issue Aug 17, 2024 · 1 comment

Comments

@MarketingPip
Copy link

When using the esm build function you may face issues with 'localStorage'....

Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
@prenx4x
Copy link

prenx4x commented Sep 11, 2024

I am facing the same issue when using esm.sh/run in playwright using page.setContent.
Why does esm.sh/run need to use localStorage? Is it possible to have a script that does not need localStorage access?

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