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(WebSocket): make server "error" event cancelable #657

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

kettanaito
Copy link
Member

@kettanaito kettanaito commented Oct 7, 2024

Fixes the issue where the forwarding of the "error" event of the original server couldn't be prevented by calling event.preventDefault().

@kettanaito kettanaito force-pushed the fix/ws-cancelable-error-event branch from b5ea207 to 200a55c Compare October 7, 2024 09:44
@kettanaito kettanaito force-pushed the fix/ws-cancelable-error-event branch from 200a55c to 73fd7e0 Compare October 7, 2024 09:46
@kettanaito kettanaito merged commit 343cc5a into main Oct 7, 2024
2 checks passed
@kettanaito kettanaito deleted the fix/ws-cancelable-error-event branch October 7, 2024 09:50
@kettanaito
Copy link
Member Author

Released: v0.36.4 🎉

This has been released in v0.36.4!

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

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