[streams] Add readableStream.locked getter (#357)

See discussion at https://github.com/yutakahirano/fetch-with-streams/issues/37#issuecomment-102423614.

Snapshot at https://streams.spec.whatwg.org/branch-snapshots/is-locked/#rs-locked

/cc @wanderview @yutakahirano
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add readableStream.locked getter

-- File Changes --

    M index.bs (14)
    M reference-implementation/lib/readable-stream.js (8)
    M reference-implementation/test/readable-stream.js (10)
    M reference-implementation/test/templated/readable-stream-closed.js (7)
    M reference-implementation/test/templated/readable-stream-empty-reader.js (15)
    M reference-implementation/test/templated/readable-stream-empty.js (2)
    M reference-implementation/test/templated/readable-stream-errored.js (7)
    M reference-implementation/test/templated/readable-stream-two-chunks-closed-reader.js (13)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/357

Received on Monday, 18 May 2015 21:48:26 UTC