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

feat: default url in register.js component preventing SecurityError #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zatziky
Copy link

@zatziky zatziky commented Apr 14, 2019

In our tests we are using mocha with jsdom and import ... from .... There was no way how to enter a url to register.js. Since register.js is create a default jsdom-global object, I hope we could introduce a default url too so that we can get rid of this error:

SecurityError: localStorage is not available for opaque origins

… localStorage is not available for opaque origins'
zatziky added a commit to amio-io/amio-chat-sdk-web that referenced this pull request Apr 14, 2019
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.

None yet

1 participant