You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
, Node has the same bug as the reference implementation did: it catches the exception caused by trying to call 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:
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: