[whatwg/streams] Patch 1streams (PR #1319)

<!--
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.
When editing this comment after the PR is created, check that PR-Preview doesn't overwrite your changes.
If you think your PR is ready to land, please double-check that the build is passing and the checklist is complete before pinging.
-->

- [x] 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:
   * … <!-- If these tests are tentative, link a PR to make them non-tentative. -->
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chromium: …
   * Gecko: …
   * WebKit: …
   * Deno: …
   * Node.js: …
- [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: …
- [ ] The top of this comment includes a [clear commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md) to use. <!-- If you created this PR from a single commit, Github copied its message. Otherwise, you need to add a commit message yourself. -->

(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/1319

-- Commit Summary --

  * Allow aborting an ongoing pipe operation using AbortSignals
  * Use multi-global tests
  * Add a brand check to pipeThrough()
  * Avoid long promise chains from pipe loop in reference implementation
  * Fix two missing full stops
  * [Demos] Update TextDecoderStream polyfill (#972)
  * Demos: Add lang="en" to html files
  * Match _closeWS parameter name with name used in body
  * Update Makefile to copy top-level demos files
  * Editorial changes to transferable streams explainer
  * Revert accidental change to web-platform-tests
  * Add @@asyncIterator to ReadableStream
  * Treat forAuthorCode as an internal slot of reader object
  * Stop using better-assert
  * Review Draft Publication: February 2019
  * Replace impossible condition with assert
  * Initialize ReadableByteStreamController.[[byobRequest]] to undefined
  * ReadableStream reference implementation: remove unnecessary code
  * Remove call to ClearPendingPullIntos from SetUpReadableByteSC
  * Give pipeTo more latitude about byob chunk sizes
  * Simplify [@@asyncIterator].next()
  * Editorial: in ReadableStreamTee, replace closedOrErrored with closed
  * Remove extra arguments left over from forAuthorCode refactor
  * Make requirements on chunk sizes clearer
  * ReadableStreamTee: do not read when already pulling
  * Reference implementation: fix pipe not aborting
  * Review Draft Publication: August 2019
  * Reference implementation: use the initial values of promise methods
  * Meta: change promises-guide references to Web IDL
  * Add close() method to WritableStream
  * Set [[disturbed]] synchronously in ReadableStreamPipeTo (#1022)
  * Export "identity transform stream"
  * Review Draft Publication: February 2020
  * Add state checks to Close() and Enqueue() (#1029)
  * Meta: update repository files
  * Rewrite to use Web IDL, and generally modernize
  * Meta: update repository files
  * Meta: run reference-implementation tests on GitHub Actions
  * Fix typo in pipeTo description
  * Meta: run idlharness tests on reference implementation
  * Editorial: use structs instead of records
  * Meta: update repository files
  * Editorial: remove forAuthorCode and use dictionaries for read()
  * Editorial: various fixes
  * Fix couple typos
  * Fix argument order in UnderlyingSinkWriteCallback and TransformerTransformCallback definitions
  * Remove obsolete asserts
  * Meta: update web platform tests
  * Add examples for stopping pipes
  * Editorial: tweak constructor/getter step introductions
  * Editorial: rename internal slots for brevity
  * Editorial: make quotes around code-font words consistent
  * Always resolve tee's cancel promise after stream closes or errors
  * Editorial: add cross-links to internal slots
  * Support transferable streams (postMessage)
  * Review Draft Publication: August 2020
  * Capitalize and export [[Detached]] slots
  * Remove redundant startPromise declaration
  * Editorial: Align with Web IDL specification
  * Editorial: fix extra "the" in controller.error()
  * Add examples of using identity transforms to create streams
  * Don't error an errored WritableStream on messageerror
  * Fix missing async in example
  * Create a dedicated section for interfacing with other specs
  * Meta: link Review Draft
  * Meta: export "reading a chunk"
  * Fix readable byte stream example
  * Add Explainer for Byte Streams
  * Update Byte Streams Explainer
  * Require autoAllocateChunkSize to be non-zero in SetUpReadableByteStreamController
  * Editorial: refactor autoAllocateChunkSize checking
  * Add "Otherwise" to ReadableStreamBYOBReaderRead
  * Editorial: add reader type assertions
  * Add user benefits section to byte stream explainer
  * Reference implementation: add missing autoAllocateChunkSize check
  * Meta: default branch rename
  * Settle reader.closed promise before closing/erroring read requests
  * Editorial: Add missing "to"
  * Review Draft Publication: February 2021
  * Editorial: fix double-resolve in in ReadableStreamTee
  * Meta: update repository files
  * Remove "create" algorithms for other specifications
  * Editorial: fix dfn refs for arguments of "TransformStream/set up"
  * Fix cancelPromise in ReadableStreamTee being resolved twice (again)
  * Editorial: fix some cross-links
  * Add piping helpers for other specs
  * Editorial: remove unused parameter to WritableStreamFinishErroring
  * Add a wrapper for other specs to error WritableStreams
  * Various fixes for readable byte streams
  * Resolve BYOB reads immediately on cancel
  * Editorial: Linkify WritableStreamDealWithRejection
  * Fix coverage-gathering for the reference implementation
  * Be uniformly lenient in what other-spec algorithms can do
  * Fix a reference to [[inFlightCloseRequest]]
  * Define WritableStreamDefaultController's signal and abortReason
  * Editorial: Update usage of CreateBuiltinFunction
  * Fix reference implementation's Web IDL files
  * Fix reference implementation's size functions
  * Support teeing readable byte streams
  * Allow other specifications to create readable byte streams
  * Add Mattias Buelens as a spec author
  * Remove bad controller argument
  * Review Draft Publication: August 2021
  * Add explainer for WritableStreamDefaultController's AbortSignal
  * Editorial: Fix numbering in WritableStreamAbort
  * Editorial: remove optional from chunk parameter in QueuingStrategySize
  * Editorial: fix byte stream examples to respond(0) after close()
  * Fix assertion failure in RespondInternal after transferring array buffer in RespondWithNewView
  * Discard auto-allocated BYOB request on enqueue
  * Fix tee() incorrectly closing before enqueuing to the second branch
  * Editorial: move informative pointers to a note
  * Align reference implementation of "wait for all" with latest Web IDL spec
  * WritableStream: remove the abortReason property
  * Meta: fix typo in the FAQ
  * Integrate abort reasons
  * Meta: roll WPT for abort reason
  * Editorial: fix readable/writable file stream examples
  * Editorial: align .webidl files with WebIDL from spec text
  * Editorial: migrate WebSocket references
  * Explainer for "transferring ownership streams"
  * Fix documentation for underlying source cancel() errors
  * Reject pending reads when releasing a reader
  * Meta: replace IRC link with Matrix
  * Add missing controller argument
  * Ensure pipeTo() releases its reader correctly
  * Meta: update repository files
  * Expose APIs everywhere
  * Use `(ArrayBufferView or undefined)` for ReadableStreamBYOBReadResult
  * Add WritableStream's signal definition for other specs
  * Meta: roll web platform tests
  * Review Draft Publication: February 2022 (#1219)
  * Meta: export "high water mark"
  * Fix IDL validity by removing ReadableStreamBYOBReadResult
  * Review Draft Publication: August 2022
  * Discuss async/parallel processing of written/transformed chunks
  * Meta: update repository files
  * Editorial: assert that async iterator's reader is always active
  * Remove promises from "read all bytes"
  * Editorial: reference constructor steps instead of constructor operation
  * Review Draft Publication: February 2023
  * Add an other-specs abstraction to pull from bytes
  * Tweak other-specification advice on AbortSignal usage
  * Update raw video explainer according proposed spec PR
  * Use an AbortController instead of signaling abort on AbortSignal
  * Meta: update WPT tests to ToT
  * Add ReadableStream.from(asyncIterable)
  * Editorial: document ReadableStream.from(asyncIterable)
  * Review Draft Publication: August 2023
  * Meta: update repository files
  * TransformStream cleanup using transformer.cancel
  * Meta: upgrade webidl2js dependency in reference implementation
  * Add ReadableStreamBYOBReader.prototype.read(view, { min })
  * Meta: update contribution guidelines
  * Plumb reason through abort and cancel algorithm wrappers
  * Meta: update repository files
  * Meta: Export "writable stream writer"
  * Review Draft Publication: February 2024
  * Add explainer for ReadableStream async iteration
  * Meta: roll reference implementation web platform tests
  * Meta: use automatic links where available
  * Editorial: Update WebRTC endpoint pair example
  * Create Streams

-- File Changes --

    M .editorconfig (17)
    A .github/ISSUE_TEMPLATE/0-new-issue.yml (17)
    A .github/ISSUE_TEMPLATE/1-new-feature.yml (27)
    A .github/ISSUE_TEMPLATE/config.yml (8)
    A .github/workflows/build.yml (29)
    A .github/workflows/test.yml (24)
    M .gitignore (6)
    M .pr-preview.json (24)
    D .travis.yml (25)
    M CONTRIBUTING.md (35)
    M FAQ.md (2)
    M LICENSE (112)
    M Makefile (27)
    A PULL_REQUEST_TEMPLATE.md (21)
    M README.md (13)
    A Streams (273)
    A byte-streams-explainer.md (129)
    M demos/append-child.html (3)
    M demos/index.html (1)
    M demos/streaming-element-backpressure.html (3)
    M demos/streaming-element.html (3)
    M demos/transforms/text-encode-transform.js (179)
    M demos/transforms/transform-stream-polyfill.js (2)
    D deploy_key.enc (0)
    M index.bs (12710)
    D local-watch.js (83)
    D package.json (11)
    A readable-stream-async-iteration-explainer.md (120)
    M reference-implementation/.eslintignore (2)
    M reference-implementation/.eslintrc.json (22)
    M reference-implementation/.gitignore (2)
    A reference-implementation/compile-idl.js (22)
    A reference-implementation/lib/ByteLengthQueuingStrategy-impl.js (25)
    A reference-implementation/lib/ByteLengthQueuingStrategy.webidl (7)
    A reference-implementation/lib/CountQueuingStrategy-impl.js (25)
    A reference-implementation/lib/CountQueuingStrategy.webidl (7)
    A reference-implementation/lib/QueuingStrategy.webidl (6)
    A reference-implementation/lib/QueuingStrategyInit.webidl (3)
    A reference-implementation/lib/ReadableByteStreamController-impl.js (111)
    A reference-implementation/lib/ReadableByteStreamController.webidl (9)
    A reference-implementation/lib/ReadableStream-impl.js (169)
    A reference-implementation/lib/ReadableStream.webidl (40)
    A reference-implementation/lib/ReadableStreamBYOBReader-impl.js (71)
    A reference-implementation/lib/ReadableStreamBYOBReader.webidl (12)
    A reference-implementation/lib/ReadableStreamBYOBRequest-impl.js (38)
    A reference-implementation/lib/ReadableStreamBYOBRequest.webidl (7)
    A reference-implementation/lib/ReadableStreamDefaultController-impl.js (60)
    A reference-implementation/lib/ReadableStreamDefaultController.webidl (8)
    A reference-implementation/lib/ReadableStreamDefaultReader-impl.js (44)
    A reference-implementation/lib/ReadableStreamDefaultReader.webidl (8)
    A reference-implementation/lib/ReadableStreamGenericReader-impl.js (22)
    A reference-implementation/lib/ReadableStreamGenericReader.webidl (5)
    A reference-implementation/lib/ReadableStreamReadResult.webidl (4)
    A reference-implementation/lib/TransformStream-impl.js (48)
    A reference-implementation/lib/TransformStream.webidl (9)
    A reference-implementation/lib/TransformStreamDefaultController-impl.js (23)
    A reference-implementation/lib/TransformStreamDefaultController.webidl (8)
    A reference-implementation/lib/Transformer.webidl (13)
    A reference-implementation/lib/UnderlyingSink.webidl (12)
    A reference-implementation/lib/UnderlyingSource.webidl (15)
    A reference-implementation/lib/WritableStream-impl.js (56)
    A reference-implementation/lib/WritableStream.webidl (10)
    A reference-implementation/lib/WritableStreamDefaultController-impl.js (33)
    A reference-implementation/lib/WritableStreamDefaultController.webidl (5)
    A reference-implementation/lib/WritableStreamDefaultWriter-impl.js (73)
    A reference-implementation/lib/WritableStreamDefaultWriter.webidl (13)
    A reference-implementation/lib/abstract-ops/ecmascript.js (124)
    A reference-implementation/lib/abstract-ops/internal-methods.js (7)
    A reference-implementation/lib/abstract-ops/miscellaneous.js (22)
    R reference-implementation/lib/abstract-ops/queue-with-sizes.js (10)
    A reference-implementation/lib/abstract-ops/queuing-strategy.js (25)
    A reference-implementation/lib/abstract-ops/readable-streams.js (1947)
    A reference-implementation/lib/abstract-ops/transform-streams.js (349)
    A reference-implementation/lib/abstract-ops/writable-streams.js (745)
    D reference-implementation/lib/byte-length-queuing-strategy.js (12)
    D reference-implementation/lib/count-queuing-strategy.js (12)
    D reference-implementation/lib/helpers.js (158)
    R reference-implementation/lib/helpers/miscellaneous.js (11)
    A reference-implementation/lib/helpers/webidl.js (149)
    M reference-implementation/lib/index.js (28)
    D reference-implementation/lib/readable-stream.js (2054)
    D reference-implementation/lib/transform-stream.js (437)
    D reference-implementation/lib/writable-stream.js (1094)
    M reference-implementation/package.json (24)
    M reference-implementation/run-web-platform-tests.js (52)
    M reference-implementation/web-platform-tests (2)
    A review-drafts/2019-02.bs (6133)
    A review-drafts/2019-08.bs (6156)
    A review-drafts/2020-02.bs (6178)
    A review-drafts/2020-08.bs (6925)
    A review-drafts/2021-02.bs (7341)
    A review-drafts/2021-08.bs (7857)
    A review-drafts/2022-02.bs (8026)
    A review-drafts/2022-08.bs (8022)
    A review-drafts/2023-02.bs (8051)
    A review-drafts/2023-08.bs (8153)
    A review-drafts/2024-02.bs (8355)
    A streams-for-raw-video-explainer.md (123)
    M transferable-streams-explainer.md (33)
    A writable-stream-abort-signal-explainer.md (120)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1319
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1319@github.com>

Received on Thursday, 18 July 2024 17:22:10 UTC