[whatwg/streams] precision issues with very large chunks and desiredSize (#657)

Per https://github.com/whatwg/streams/issues/582#issuecomment-273016992 there's an observable problem with the current shortcut.

Should it be changed to follow the spec directly and add up the chunk sizes every time, or use some other way to cheat?


You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * test for precision issues with very large chunks and desiredSize

-- File Changes --

    M reference-implementation/to-upstream-wpts/writable-streams/general.js (18)

-- Patch Links --

https://github.com/whatwg/streams/pull/657.patch
https://github.com/whatwg/streams/pull/657.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/657

Received on Tuesday, 17 January 2017 05:46:22 UTC