[whatwg/streams] Align WritableStream structure with ReadableStream structure (#488)

- Add WritableStreamDefaultWriter
- Add WritableStreamDefaultController
- Add lock related methods
- Update reader.pipeTo() to use the new WritableStream classes
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Align WritableStream structure with ReadableStream structure

-- File Changes --

    M reference-implementation/lib/readable-stream.js (291)
    M reference-implementation/lib/transform-stream.js (377)
    M reference-implementation/lib/writable-stream.js (844)
    M reference-implementation/test/bad-strategies.js (10)
    M reference-implementation/test/bad-underlying-sinks.js (34)
    M reference-implementation/test/brand-checks.js (52)
    M reference-implementation/test/byte-length-queuing-strategy.js (5)
    M reference-implementation/test/count-queuing-strategy.js (70)
    M reference-implementation/test/pipe-through.js (18)
    M reference-implementation/test/pipe-to.js (343)
    M reference-implementation/test/templated/readable-stream-closed.js (12)
    M reference-implementation/test/templated/readable-stream-errored-async-only.js (20)
    M reference-implementation/test/templated/readable-stream-errored.js (7)
    M reference-implementation/test/templated/readable-stream-two-chunks-closed.js (30)
    M reference-implementation/test/transform-stream-errors.js (26)
    M reference-implementation/test/transform-stream.js (173)
    M reference-implementation/test/writable-stream-abort.js (189)
    M reference-implementation/test/writable-stream.js (551)

-- Patch Links --

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

Received on Monday, 1 August 2016 05:15:40 UTC