FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

stream: update TextEncoderStream to align with the latest spec by cola119 · Pull Request #44101 · nodejs/node · GitHub

/ node Public

stream: update TextEncoderStream to align with the latest spec - #44101

Merged
nodejs-github-bot merged 3 commits into
nodejs:mainfrom
cola119:update-encoder-spec
Aug 4, 2022
Merged

stream: update TextEncoderStream to align with the latest spec#44101
nodejs-github-bot merged 3 commits into
nodejs:mainfrom
cola119:update-encoder-spec

Conversation

cola119 commented Aug 2, 2022
edited
Loading

Copy link
Copy Markdown
Member

This PR updated TextEncoderStream implementation to align with the latest WHATWG spec.

Test cases of /test/fixtures/wpt/encoding/streams/encode-utf8.any.js (WPT for TextEncoderStream) are all passed now. (The previous implementation didn't support surrogate pairs.)

nodejs-github-bot added the needs-ci PRs that need a full CI run. label Aug 2, 2022
Comment thread lib/internal/webstreams/encoding.js Outdated
Comment on lines 6 to 7

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
Uint8Array,
String
String,
Uint8Array,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Done f2304b604d40fab394a3cbc81a04ed1d28dfa4b5

cola119 requested a review from aduh95 August 2, 2022 23:53
cola119 force-pushed the update-encoder-spec branch from f2304b6 to 03412dc Compare August 3, 2022 00:31
Comment thread lib/internal/webstreams/encoding.js Outdated
cola119 force-pushed the update-encoder-spec branch from 03412dc to c44d983 Compare August 3, 2022 09:15
cola119 requested a review from aduh95 August 3, 2022 09:16
aduh95 added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Aug 3, 2022
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 3, 2022

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 4, 2022
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 4, 2022
nodejs-github-bot merged commit c8bea71 into nodejs:main Aug 4, 2022

Copy link
Copy Markdown
Collaborator

Landed in c8bea71

danielleadams pushed a commit that referenced this pull request Aug 16, 2022
PR-URL: #44101
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
ruyadorno pushed a commit that referenced this pull request Aug 23, 2022
PR-URL: #44101
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>

Copy link
Copy Markdown
Member

This is causing "wpt" tests in v16.x to fail. I will add the backport layer to this.

cola119 changed the title stream: update TextEncoderStream to align the latest spec stream: update TextEncoderStream to align with the latest spec Feb 19, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL