[whatwg/streams] Add missing check for WritableStream...ClearAlgorithms (#943)

When an underlying sink write is rejected but an abort is already in
process, the underlying sink abort() method still needs to be called, so
the algorithms cannot be cleared yet.

This was correct in the reference implementation but the corresponding
condition was missing from the standard text.

Add the missing check.

Thanks to @MattiasBuelens for pointing out the issue.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add missing check for WritableStream...ClearAlgorithms

-- File Changes --

    M index.bs (2)

-- Patch Links --

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

Received on Saturday, 14 July 2018 15:06:48 UTC