◐ Shell
clean mode source ↗

test: update WPT for WebCryptoAPI to ab08796857 · nodejs/node@c607004

Original file line numberDiff line numberDiff line change

@@ -243,7 +243,7 @@ function run_test(algorithmNames) {

243243

allAlgorithmSpecifiersFor(name).forEach(function(algorithm) {

244244

getValidKeyData(algorithm).forEach(function(test) {

245245

if (test.format === "jwk") {

246-

var data = {crv: test.data.crv, kty: test.data.kty, d: test.data.d, x: test.data.x, d: test.data.d};

246+

var data = {crv: test.data.crv, kty: test.data.kty, d: test.data.d, x: test.data.x, y: test.data.y};

247247

data.use = "invalid";

248248

var usages = validUsages(vector, 'jwk', test.data);

249249

if (usages.length !== 0)