Skip to content

Conversation

@MattiasBuelens
Copy link
Collaborator

@MattiasBuelens MattiasBuelens commented Feb 8, 2022

Node had a bug in their readable byte streams implementation when using respondWithNewView() on an auto-allocated BYOB request, see nodejs/node#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. There are no normative changes.

(See WHATWG Working Mode: Changes for more details.)

Copy link
Collaborator

@ricea ricea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@domenic domenic merged commit ac3dca9 into whatwg:main Feb 9, 2022
@MattiasBuelens MattiasBuelens deleted the test-respondwithnewview-autoallocatechunksize branch February 10, 2022 00:12
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Feb 26, 2022
…locateChunkSize and respondWithNewView, a=testonly

Automatic update from web-platform-tests
Test interaction between autoAllocateChunkSize and respondWithNewView (#32757)

See whatwg/streams#1216 for context.

Upstreamed from nodejs/node#41887.
--

wpt-commits: 6a46d9cb8d20c510a620141c721b81b460a4ee55
wpt-pr: 32757
jamienicol pushed a commit to jamienicol/gecko that referenced this pull request Mar 1, 2022
…locateChunkSize and respondWithNewView, a=testonly

Automatic update from web-platform-tests
Test interaction between autoAllocateChunkSize and respondWithNewView (#32757)

See whatwg/streams#1216 for context.

Upstreamed from nodejs/node#41887.
--

wpt-commits: 6a46d9cb8d20c510a620141c721b81b460a4ee55
wpt-pr: 32757
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Mar 8, 2022
…locateChunkSize and respondWithNewView, a=testonly

Automatic update from web-platform-tests
Test interaction between autoAllocateChunkSize and respondWithNewView (#32757)

See whatwg/streams#1216 for context.

Upstreamed from nodejs/node#41887.
--

wpt-commits: 6a46d9cb8d20c510a620141c721b81b460a4ee55
wpt-pr: 32757
jamienicol pushed a commit to jamienicol/gecko that referenced this pull request Mar 8, 2022
…locateChunkSize and respondWithNewView, a=testonly

Automatic update from web-platform-tests
Test interaction between autoAllocateChunkSize and respondWithNewView (#32757)

See whatwg/streams#1216 for context.

Upstreamed from nodejs/node#41887.
--

wpt-commits: 6a46d9cb8d20c510a620141c721b81b460a4ee55
wpt-pr: 32757
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
…locateChunkSize and respondWithNewView, a=testonly

Automatic update from web-platform-tests
Test interaction between autoAllocateChunkSize and respondWithNewView (#32757)

See whatwg/streams#1216 for context.

Upstreamed from nodejs/node#41887.
--

wpt-commits: 6a46d9cb8d20c510a620141c721b81b460a4ee55
wpt-pr: 32757
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
…locateChunkSize and respondWithNewView, a=testonly

Automatic update from web-platform-tests
Test interaction between autoAllocateChunkSize and respondWithNewView (#32757)

See whatwg/streams#1216 for context.

Upstreamed from nodejs/node#41887.
--

wpt-commits: 6a46d9cb8d20c510a620141c721b81b460a4ee55
wpt-pr: 32757
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants