Skip to content

Conversation

@VoltrexKeyva
Copy link
Member

The primordials does not expose a primordial called DataViewCtor, leading up to a non-existent constructor.

Fixes: #40612

@nodejs-github-botnodejs-github-bot added the needs-ci PRs that need a full CI run. label Oct 27, 2021
@VoltrexKeyvaVoltrexKeyva changed the title webstreams: rename unknown primordialstream: rename unknown primordialOct 27, 2021
@VoltrexKeyvaVoltrexKeyva added stream Issues and PRs related to the stream subsystem. web streams needs-ci PRs that need a full CI run. request-ci Add this label to start a Jenkins CI on a PR. and removed needs-ci PRs that need a full CI run. stream Issues and PRs related to the stream subsystem. labels Oct 27, 2021
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 27, 2021
@nodejs-github-bot

This comment has been minimized.

@mscdex
Copy link
Contributor

We should probably add a test for this.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@VoltrexKeyva
Copy link
MemberAuthor

VoltrexKeyva commented Oct 27, 2021

This is strange, our node-core/prefer-primordials rule seems to be preferring the usage of DataViewCtor instead of DataView even though primordials does not expose a primordial called DataViewCtor...

@targos
Copy link
Member

This is strange, our node-core/prefer-primordials rule seems to be preferring the usage of DataViewCtor instead of DataView even though primordials does not expose a primordial called DataViewCtor...

It's probably a bug in the rule.

aduh95 added a commit to aduh95/node that referenced this pull request Oct 27, 2021
aduh95 added a commit to aduh95/node that referenced this pull request Oct 27, 2021
@aduh95
Copy link
Contributor

This is strange, our node-core/prefer-primordials rule seems to be preferring the usage of DataViewCtor instead of DataView even though primordials does not expose a primordial called DataViewCtor...

It's probably a bug in the rule.

It is, fix in #40628.

@MesteeryMesteery removed the needs-ci PRs that need a full CI run. label Oct 28, 2021
aduh95 added a commit to nodejs/node-auto-test that referenced this pull request Oct 29, 2021
commit 958a05db7e7d9ec62e3aea119aad10c7cfd39ba6 Author: Antoine du Hamel <[email protected]> Date: Wed Oct 27 16:17:05 2021 +0200 tools: fix bug in `prefer-primordials` ESLint rule Refs: nodejs/node#40622 PR-URL: nodejs/node#40628 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Voltrex <[email protected]> Reviewed-By: James M Snell <[email protected]>
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 19, 2022
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Collaborator

@aduh95aduh95 added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. labels Jan 20, 2022
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 20, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in 5753eb1...de9dc41

nodejs-github-bot pushed a commit that referenced this pull request Jan 20, 2022
The primordials does not expose a primordial called `DataViewCtor`, leading up to a non-existent constructor. Fixes: #40612 PR-URL: #40622 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
nodejs-github-bot pushed a commit that referenced this pull request Jan 20, 2022
The WHATWG `ReadableStream` test needs a new test entry for reading a `DataView`. PR-URL: #40622Fixes: #40612 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
@VoltrexKeyvaVoltrexKeyva deleted the fix-unknown-primordial branch January 20, 2022 12:02
BethGriggs pushed a commit that referenced this pull request Jan 25, 2022
The primordials does not expose a primordial called `DataViewCtor`, leading up to a non-existent constructor. Fixes: #40612 PR-URL: #40622 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
BethGriggs pushed a commit that referenced this pull request Jan 25, 2022
The WHATWG `ReadableStream` test needs a new test entry for reading a `DataView`. PR-URL: #40622Fixes: #40612 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Linkgoron pushed a commit to Linkgoron/node that referenced this pull request Jan 31, 2022
The primordials does not expose a primordial called `DataViewCtor`, leading up to a non-existent constructor. Fixes: nodejs#40612 PR-URL: nodejs#40622 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Linkgoron pushed a commit to Linkgoron/node that referenced this pull request Jan 31, 2022
The WHATWG `ReadableStream` test needs a new test entry for reading a `DataView`. PR-URL: nodejs#40622Fixes: nodejs#40612 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
@ruyadornoruyadorno mentioned this pull request Feb 8, 2022
danielleadams pushed a commit that referenced this pull request Feb 28, 2022
The primordials does not expose a primordial called `DataViewCtor`, leading up to a non-existent constructor. Fixes: #40612 PR-URL: #40622 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
danielleadams pushed a commit that referenced this pull request Feb 28, 2022
The WHATWG `ReadableStream` test needs a new test entry for reading a `DataView`. PR-URL: #40622Fixes: #40612 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
danielleadams pushed a commit that referenced this pull request Mar 2, 2022
The primordials does not expose a primordial called `DataViewCtor`, leading up to a non-existent constructor. Fixes: #40612 PR-URL: #40622 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
danielleadams pushed a commit that referenced this pull request Mar 2, 2022
The WHATWG `ReadableStream` test needs a new test entry for reading a `DataView`. PR-URL: #40622Fixes: #40612 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
danielleadams pushed a commit that referenced this pull request Mar 3, 2022
The primordials does not expose a primordial called `DataViewCtor`, leading up to a non-existent constructor. Fixes: #40612 PR-URL: #40622 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
danielleadams pushed a commit that referenced this pull request Mar 3, 2022
The WHATWG `ReadableStream` test needs a new test entry for reading a `DataView`. PR-URL: #40622Fixes: #40612 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
danielleadams pushed a commit that referenced this pull request Mar 14, 2022
The primordials does not expose a primordial called `DataViewCtor`, leading up to a non-existent constructor. Fixes: #40612 PR-URL: #40622 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
danielleadams pushed a commit that referenced this pull request Mar 14, 2022
The WHATWG `ReadableStream` test needs a new test entry for reading a `DataView`. PR-URL: #40622Fixes: #40612 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.commit-queue-rebaseAdd this label to allow the Commit Queue to land a PR in several commits.web streams

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ReadableStreamBYOBReader read() throws when given DataView

11 participants

@VoltrexKeyva@nodejs-github-bot@mscdex@targos@aduh95@Ayase-252@jasnell@tniessen@JungMinu@danielleadams@Mesteery