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

Jest: SecurityError: localStorage is not available for opaque origins #2305

Closed
csvan opened this issue Jul 27, 2018 · 2 comments
Closed

Jest: SecurityError: localStorage is not available for opaque origins #2305

csvan opened this issue Jul 27, 2018 · 2 comments

Comments

@csvan
Copy link

csvan commented Jul 27, 2018

Basic info:

  • Node.js version:
    10.7

  • jsdom version:
    11.12

Minimal reproduction case

Setup a simple Jest test case, see https://jestjs.io/docs/en/getting-started

As of 11.12, all our Jest (which ships with jsdom) have started failing with:

SecurityError: localStorage is not available for opaque origins

Rolling back to 11.11 seems to work, and I am not sure if this is a jsdom or Jest issue.

@r0b1n
Copy link

r0b1n commented Jul 27, 2018

Duplicate. See: #2304

@csvan
Copy link
Author

csvan commented Jul 27, 2018

@r0b1n apologies, closing.

@csvan csvan closed this as completed Jul 27, 2018
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