[whatwg/streams] Factor out WritableStreamDefaultWriterRelease (#513)

This will help with specifying pipeTo, as seen in #512. This also aligns the spec, tests, and reference implementation on sharing a single error object across both closed and ready promises; previously this was untested and the reference implementation did so but the spec did not.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Factor out WritableStreamDefaultWriterRelease

-- File Changes --

    M index.bs (30)
    M reference-implementation/lib/writable-stream.js (49)
    M reference-implementation/test/writable-stream.js (24)

-- Patch Links --

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

Received on Tuesday, 30 August 2016 21:11:12 UTC