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

Consider making writer.abort() automatically generate an "AbortError" DOMException? #1290

Open
domenic opened this issue Jul 14, 2023 · 0 comments

Comments

@domenic
Copy link
Member

domenic commented Jul 14, 2023

It's sad when people do writer.abort() with no arguments, because then the various promises (e.g., on any writer.write() calls, or writer.closed) reject with undefined.

Could we instead automatically generate an "AbortError" DOMException? That would match the behavior of AbortController.

@whatwg whatwg deleted a comment from Isabelle2505 Sep 6, 2023
@whatwg whatwg deleted a comment from Isabelle2505 Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant