Skip to content

Conversation

@panva
Copy link
Member

Fixes globalThis.crypto.getRandomValues arguments length validation.

Was

DOMException [TypeMismatchError]: The data argument must be an integer-type TypedArray 

Now

Uncaught TypeError [ERR_MISSING_ARGS]: The "typedArray" argument must be specified code: 'ERR_MISSING_ARGS' 

@panvapanva added crypto Issues and PRs related to the crypto subsystem. webcrypto labels Dec 14, 2022
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/crypto

@nodejs-github-botnodejs-github-bot added the needs-ci PRs that need a full CI run. label Dec 14, 2022
@panvapanva added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Dec 14, 2022
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 14, 2022
@nodejs-github-bot

This comment was marked as outdated.

@panvapanva added the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 14, 2022
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

@panvapanva removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 16, 2022
@panva
Copy link
MemberAuthor

Landed in 3014c5d

@panvapanva closed this Dec 16, 2022
panva added a commit that referenced this pull request Dec 16, 2022
PR-URL: #45854 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
@panvapanva deleted the fix-getrandomvalues-empty-args branch December 16, 2022 13:12
@aduh95
Copy link
Contributor

aduh95 commented Dec 16, 2022

This landed despite the latest Jenkins CI being red (and this change does affect the node binary).

Do not land any pull requests without the necessary passing CI runs.
A passing (green) GitHub Actions CI result is required. A passing (green or
yellow) [Jenkins CI](https://ci.nodejs.org/) is also required if the pull
request contains changes that will affect the `node` binary. This is because
GitHub Actions CI does not cover all the environments supported by Node.js.

targos pushed a commit that referenced this pull request Jan 1, 2023
PR-URL: #45854 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
@RafaelGSSRafaelGSS mentioned this pull request Jan 2, 2023
juanarbol pushed a commit that referenced this pull request Jan 26, 2023
PR-URL: #45854 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
@juanarboljuanarbol mentioned this pull request Jan 28, 2023
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.cryptoIssues and PRs related to the crypto subsystem.needs-ciPRs that need a full CI run.webcrypto

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@panva@nodejs-github-bot@aduh95@lpinca@anonrig@tniessen@JungMinu