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

DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document. #55

Open
JUDOKICK opened this issue Mar 26, 2020 · 4 comments

Comments

@JUDOKICK
Copy link

Portis SDK seems to run into this issue when using Private mode or using Brave browser. Seems like there's an easy workaround by wrapping the localStorage calls with an isStorageAvailable function. If I have time in the near future, will submit a PR.

@mrq1911
Copy link

mrq1911 commented Jun 7, 2020

brave is listed as supported at https://docs.portis.io, please have a look at this issue

@tomteman
Copy link
Contributor

tomteman commented Jun 7, 2020

Will do, thanks for bringing this to our attention

@tomteman
Copy link
Contributor

tomteman commented Jun 7, 2020

@JUDOKICK Unfortunately, the fetching from localStorage happens in the code that runs under the Portis domain (the widget), not the SDK, so you will not be able to submit a PR. We'll release a fix soon.

@0xclem
Copy link

0xclem commented Jul 6, 2020

@tomteman any update on that?

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

4 participants