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
In this case we allow the controller’s enqueue method to be called and silently do nothing
This hasn't been true since e601d69 in Dec 2015. The change was documented in the change description, and discussed in #424, so it was clearly intentional. The note was just never removed.
I prefer the new behaviour for enqueue() since I think it might be harmful to continue to run code on the assumption that the chunk has been queued. Plus this behaviour has shipped in browsers so changing it now could break running code. I propose removing the note.
The text was updated successfully, but these errors were encountered:
ricea
added a commit
to ricea/streams
that referenced
this issue
Oct 6, 2017
ReadableStreamDefaultControllerEnqueue has a note indicating that it
could be called when the stream was closed without an exception being
thrown. This hasn't been true since December 2015. Remove the inaccurate
note.
Fixeswhatwg#824.
ReadableStreamDefaultControllerEnqueue has a note indicating that it could be called when the stream was closed without an exception being thrown. This hasn't been true since e601d69. Additionally, the remaining part of that note refers to steps that were moved in ad0dfef. Move that remaining part to the correct location, and update it to be more comprehensive.
Fixes#824.
https://streams.spec.whatwg.org/commit-snapshots/cd10872861aa35c0490f5d4ff46db7593e866a87#readable-stream-default-controller-enqueue
This hasn't been true since e601d69 in Dec 2015. The change was documented in the change description, and discussed in #424, so it was clearly intentional. The note was just never removed.
I prefer the new behaviour for
enqueue()
since I think it might be harmful to continue to run code on the assumption that the chunk has been queued. Plus this behaviour has shipped in browsers so changing it now could break running code. I propose removing the note.The text was updated successfully, but these errors were encountered: