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

fix: localstorage access denied bug in incognito #42

Merged

Conversation

MoumitaM
Copy link
Contributor

PR Description

Bug: #41 When a web app is loaded through an iframe in incognito mode and the web app uses the store.js library, it throws an exception.

Solution:

  • Removed default initialization to window.localstorage.
  • Instead of Storage API used in-memory storage.

The solution is tested against incognito.

@jaywcjlove jaywcjlove merged commit 3ca4cb6 into jaywcjlove:master May 10, 2023
jaywcjlove added a commit that referenced this pull request May 10, 2023
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

Successfully merging this pull request may close these issues.

2 participants