Skip to content

webstreams: narrow ReadableStreamBYOBRequest.view to Uint8Array #62952

Description

@MattiasBuelens

ReadableStreamBYOBRequest.view is always constructed as a Uint8Array, and the specification will be updated to enforce this. Spec change: whatwg/streams#1367

We should reflect this by changing the documented return type from ArrayBufferView to Uint8Array here:

/**
* @readonly
* @type {ArrayBufferView}
*/
get view() {

Activity

  1. added
    web streamsIssues and PRs related to the Web Streams API.
    web-standardsIssues and PRs related to web-platform APIs and standards compliance.
    good first issueIssues that are suitable for first-time contributors.
    on Apr 25, 2026
  2. Jah-yee commented on Apr 26, 2026

    @Jah-yee
    Contributor

    Friendly ping @nodejs/maintainers — this has been waiting for review. The type fix is minimal and targeted. Would appreciate feedback! 🙏

  3. mizoz commented on Apr 28, 2026

    @mizoz

    Hi! I'd love to contribute. Could you assign this issue to me? Happy to get started right away.

  4. MattiasBuelens commented on Apr 28, 2026

    @MattiasBuelens
    ContributorAuthor

    Hi @mizoz! 👋 I'm happy to welcome you as a new contributor. However, since there's already an open PR for this, I recommend you pick up a different issue.

  5. Sahitya3105 commented on May 2, 2026

    @Sahitya3105

    Hi! I’m interested in working on this issue. Could you please assign it to me?

  6. MattiasBuelens commented on May 2, 2026

    @MattiasBuelens
    ContributorAuthor

    @Sahitya3105 See above, there is already an open PR: #63017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issueIssues that are suitable for first-time contributors.web streamsIssues and PRs related to the Web Streams API.web-standardsIssues and PRs related to web-platform APIs and standards compliance.

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions