[whatwg/streams] Set [[disturbed]] synchronously in ReadableStreamPipeTo (#1022)

Set the [[disturbed]] internal slot to true in ReadableStreamPipeTo.
This is useful for the Fetch Standard. It is not visible to user code.

See https://github.com/whatwg/fetch/pull/959 for the Fetch Standard
change that requires this.

Also fix two places where the name of the `state` internal slot was
mistakenly italicised.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Set [[disturbed]] synchronously in ReadableStreamPipeTo

-- File Changes --

    M index.bs (5)
    M reference-implementation/lib/readable-stream.js (2)

-- Patch Links --

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

Received on Thursday, 7 November 2019 07:00:37 UTC