node icon indicating copy to clipboard operation
node copied to clipboard

[v20.x backport] streams: fixes for webstreams

Open MattiasBuelens opened this issue 1 year ago • 8 comments

Manual backport of #51168 to v20.x. Depends on #52772, so keeping this in draft until that one lands.

This one was a bit tricky, since there are changes to transferables on v22.x that are not on v20.x (such as #50107) which also affect web streams. However, I think I made it work. 🤞

MattiasBuelens avatar May 01 '24 10:05 MattiasBuelens

Review requested:

  • [ ] @nodejs/web-standards

nodejs-github-bot avatar May 01 '24 10:05 nodejs-github-bot

can you fix the conflicts? I'll try to backport it in the next v20 release

marco-ippolito avatar May 16 '24 08:05 marco-ippolito

@marco-ippolito Updated and ready for review. 😉

MattiasBuelens avatar May 16 '24 20:05 MattiasBuelens

CI: https://ci.nodejs.org/job/node-test-pull-request/59263/

nodejs-github-bot avatar May 17 '24 05:05 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/59268/

nodejs-github-bot avatar May 17 '24 14:05 nodejs-github-bot

Hi @MattiasBuelens I was backporting your commits, I encountered some issue, can you please cherry-pick the landed commits from the original PR (example https://github.com/nodejs/node/pull/51168#issuecomment-1869556329), instead of the commits from your fork, so that they contain metadata like PR-URL and reviewers, and please squash the fixup commits

marco-ippolito avatar Jun 12 '24 07:06 marco-ippolito

@marco-ippolito I've squashed the commits on this PR and rebased them onto v20.x-staging.

The original PR didn't have the most prominent change in the first commit, so we landed it in https://github.com/nodejs/node/commit/20c63134fcd86468a940ab447bb092bdc2238389 with the unimaginative title "stream: fix code style". 😅 I changed it to "stream: fixes for webstreams" for this PR, if that's okay.

MattiasBuelens avatar Jun 25 '24 19:06 MattiasBuelens

@marco-ippolito I've squashed the commits on this PR and rebased them onto v20.x-staging.

The original PR didn't have the most prominent change in the first commit, so we landed it in https://github.com/nodejs/node/commit/20c63134fcd86468a940ab447bb092bdc2238389 with the unimaginative title "stream: fix code style". 😅 I changed it to "stream: fixes for webstreams" for this PR, if that's okay.

You can just cherry-pick the landed commits from the original PR (at the end of the pr in the comment from the bot landed in ...) and squash only the fixup commits

marco-ippolito avatar Jun 25 '24 22:06 marco-ippolito

Landed in 48138afd3507

marco-ippolito avatar Jul 19 '24 13:07 marco-ippolito