[whatwg/streams] Give pipeTo more latitude about byob chunk sizes (#989)

If pipeTo() uses a BYOB reader, it is required to use
WritableStreamDefaultWriterGetDesiredSize(writer) to determine chunk
sizes. However, if, for example, the HWM is too low, the resulting value
may be an unsuitable chunk size. Relax the language to give
implementations latitude to use other information to choose an
appropriate chunk size.

Closes #938.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/989

-- Commit Summary --

  * Give pipeTo more latitude about byob chunk sizes

-- File Changes --

    M index.bs (6)

-- Patch Links --

https://github.com/whatwg/streams/pull/989.patch
https://github.com/whatwg/streams/pull/989.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/989

Received on Monday, 18 February 2019 14:38:54 UTC