-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Streams: writableStreamDefaultControllerGetChunkSize undefined strategy case slightly broken #56014
Labels
Comments
5 tasks
aduh95
pushed a commit
that referenced
this issue
Jan 2, 2025
PR-URL: #56067 Fixes: #56014 Refs: whatwg/streams#1333 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
aduh95
pushed a commit
that referenced
this issue
Jan 31, 2025
PR-URL: #56067 Fixes: #56014 Refs: whatwg/streams#1333 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
marco-ippolito
pushed a commit
that referenced
this issue
Mar 6, 2025
PR-URL: #56067 Fixes: #56014 Refs: whatwg/streams#1333 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
marco-ippolito
pushed a commit
that referenced
this issue
Mar 6, 2025
PR-URL: #56067 Fixes: #56014 Refs: whatwg/streams#1333 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
marco-ippolito
pushed a commit
that referenced
this issue
Mar 6, 2025
PR-URL: #56067 Fixes: #56014 Refs: whatwg/streams#1333 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
This is based on source inspection
Platform
Subsystem
web streams
What steps will reproduce the bug?
See whatwg/streams#1333.
Per
node/lib/internal/webstreams/writablestream.js
Line 1178 in ae8280c
undefined
as a function, and then attempts to error the stream with it.I don't believe this is observable since the stream is already erroring so the "TypeError: cannot call undefined" will not actually be exposed to the web developer.
However, it's probably best to fix this.
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
Check for undefined before calling the function
What do you see instead?
You're catching it
Additional information
The text was updated successfully, but these errors were encountered: