[whatwg/streams] Add tests for interaction between autoAllocateChunkSize and respondWithNewView (PR #1216)

Node had a bug in their readable byte streams implementation when using `respondWithNewView()` on an auto-allocated BYOB request, see https://github.com/nodejs/node/issues/41886. Although the specification and the reference implementation handle this use case correctly, it was not covered by any of the existing web platform tests, and thus can be easily missed.

This adds tests for the (already specified) expected behavior, to increase test coverage. No normative changes.

- [ ] 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:
   * https://github.com/web-platform-tests/wpt/pull/32757

- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chrome: …
   * Firefox: …
   * Safari: …
   * Deno: …
   * Node.js: …

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


-- Commit Summary --

  * Roll WPT

-- File Changes --

    M reference-implementation/web-platform-tests (2)

-- Patch Links --

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

https://github.com/whatwg/streams/pull/1216.diff


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1216

You are receiving this because you are subscribed to this thread.

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

Received on Tuesday, 8 February 2022 23:45:26 UTC