MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/desiredSize
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
#Value
An integer. Note that this can be negative if the queue is over-full.
What did you expect to see?
This is wrong for two reasons:
desiredSize can be null in the case of an errored stream.
desiredSize can be a non-integer, in the case of a custom queuing strategy.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/desiredSize
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
What did you expect to see?
This is wrong for two reasons:
desiredSizecan benullin the case of an errored stream.desiredSizecan be a non-integer, in the case of a custom queuing strategy.Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/api/readablestreamdefaultcontroller/desiredsize