[whatwg/streams] Define WritableStreamDefaultController.signal (#1132)

Define the property to signal abort to UnderlyingSink even
when it has a pending write or close operation.

Fixes #1015.
<!--
Thank you for contributing to the Streams Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
-->

- [ ] At least two implementers are interested (and none opposed):
   * …
   * …
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * …
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chrome: …
   * Firefox: …
   * Safari: …

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)

You can view, comment on, or merge this pull request online at:

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


-- Commit Summary --

  * Define WritableStreamDefaultController.signal

-- File Changes --

    M index.bs (26)
    M reference-implementation/lib/WritableStreamDefaultController-impl.js (4)
    M reference-implementation/lib/WritableStreamDefaultController.webidl (1)
    M reference-implementation/lib/abstract-ops/writable-streams.js (7)

-- Patch Links --

https://github.com/whatwg/streams/pull/1132.patch

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

Received on Thursday, 3 June 2021 12:30:18 UTC