[whatwg/fetch] Make extract throw for a disturbed/locked ReadableStream (#801)

This also introduces "safely extract" which mainly serves to make it explicit which extraction operations cannot throw.

Tests: ...

Fixes #792.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/801

-- Commit Summary --

  * Make extract throw for a disturbed/locked ReadableStream

-- File Changes --

    M fetch.bs (52)

-- Patch Links --

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

Received on Tuesday, 21 August 2018 11:56:24 UTC