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
... as ReadableStreamCancel does not check [[closeRequested]] in the first example.
I think the underlying source is effectively done at the point it calls controller.close(), is there a reason it should be pinged for anything after that? Probably too late to change the behavior even if there's no need, though.
The text was updated successfully, but these errors were encountered:
My interpretation is that in the second case, all the data has been read, so the underlying source doesn't need to know about the cancellation. But in the first case there's potentially been some data loss.
It's probably too late to change the behaviour given how much code has been written against the current semantics.
This calls the cancel callback, and this does not:
... as ReadableStreamCancel does not check
[[closeRequested]]
in the first example.I think the underlying source is effectively done at the point it calls
controller.close()
, is there a reason it should be pinged for anything after that? Probably too late to change the behavior even if there's no need, though.The text was updated successfully, but these errors were encountered: