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(op_crates/websocket): default to close code 1005 #9339

Merged
merged 12 commits into from
Feb 21, 2021
Merged

fix(op_crates/websocket): default to close code 1005 #9339

merged 12 commits into from
Feb 21, 2021

Conversation

DjDeveloperr
Copy link
Contributor

Currently if Web Socket is closed without code, it will error while on Chrome it would close with code 1005 instead.

closes: #9337

@CLAassistant
Copy link

CLAassistant commented Jan 31, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @DjDeveloperr; it looks like std/wasi and test_util/wpt submodules are outdated, please run git submodule update --init --recursive and recommit. Also we need a test for this change. @crowlKats provided a test case

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you @DjDeveloperr @crowlKats

Base automatically changed from master to main February 19, 2021 14:59
@bartlomieju bartlomieju merged commit fe1b512 into denoland:main Feb 21, 2021
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.

WebSocket generating an error when .close() is called
4 participants