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

Error in the browser with 10.0.1 #270

Closed
dominykas opened this issue Mar 5, 2019 · 0 comments
Closed

Error in the browser with 10.0.1 #270

dominykas opened this issue Mar 5, 2019 · 0 comments
Assignees
Labels
bug
Milestone

Comments

@dominykas
Copy link
Contributor

@dominykas dominykas commented Mar 5, 2019

Chrome reports an error when constructing the WebSocket:

Uncaught DOMException: Failed to construct 'WebSocket': The subprotocol '[object Object]' is invalid.

Unlike ws, the browser WebSocket does not allow options, only protocols in the constructor: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket.

@hueniverse hueniverse self-assigned this Mar 5, 2019
@hueniverse hueniverse closed this in 2d3684b Mar 5, 2019
@hueniverse hueniverse added the bug label Mar 5, 2019
@hueniverse hueniverse added this to the 10.0.2 milestone Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.