test: cover webcrypto prototype pollution systematically

Drive the regression test from the WebCrypto algorithm registry so all
supported algorithms and operations must add explicit coverage
regardless of whether they are native-job backed or js-based.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/63520
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Filip Skokan authored and Antoine du Hamel committed 2026-05-27 11:35:49 +02:00
1 parent eeb77d217c
commit 12052dbe14
2 files changed
+816 -383

No files matched your search

+1
View File
@@ -960,6 +960,7 @@ module.exports = {
toBuf,
kNamedCurveAliases,
kSupportedAlgorithms,
normalizeAlgorithm,
normalizeHashName,
hasAnyNotIn,
File diff suppressed because it is too large. Load diff