Skip to content

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

Open
zatziky wants to merge 1 commit into
rstacruz:masterfrom
zatziky:default-url-in-register
Open

feat: default url in register.js component preventing SecurityError#50
zatziky wants to merge 1 commit into
rstacruz:masterfrom
zatziky:default-url-in-register

Conversation

@zatziky

@zatziky zatziky commented Apr 14, 2019

Copy link
Copy Markdown

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.

1 participant