Skip to content

Commit baa6968

Browse files
nodejs-github-botRafaelGSS
authored andcommitted
test: update WPT for WebCryptoAPI to 164426ace2
PR-URL: #57854 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
1 parent fded233 commit baa6968

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/fixtures/wpt/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Last update:
3333
- user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing
3434
- wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi
3535
- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi
36-
- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/edd42c005c/WebCryptoAPI
36+
- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/164426ace2/WebCryptoAPI
3737
- webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/a370aad338/webidl/ecmascript-binding/es-exceptions
3838
- webmessaging/broadcastchannel: https://github.com/web-platform-tests/wpt/tree/6495c91853/webmessaging/broadcastchannel
3939
- webstorage: https://github.com/web-platform-tests/wpt/tree/1291340aaa/webstorage

test/fixtures/wpt/WebCryptoAPI/import_export/importKey_failures.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function run_test(algorithmNames) {
213213
allAlgorithmSpecifiersFor(name).forEach(function(algorithm) {
214214
getValidKeyData(algorithm).forEach(function(test) {
215215
if (test.format === "jwk") {
216-
var data = {crv: test.data.crv, kty: test.data.kty, d: test.data.d, x: test.data.x, d: test.data.d};
216+
var data = {crv: test.data.crv, kty: test.data.kty, d: test.data.d, x: test.data.x, y: test.data.y};
217217
data.kty = getMismatchedKtyField(algorithm);
218218
var usages = validUsages(vector, 'jwk', test.data);
219219
testError('jwk', algorithm, data, name, usages, true, "DataError", "Invalid 'kty' field");
@@ -228,7 +228,7 @@ function run_test(algorithmNames) {
228228
allAlgorithmSpecifiersFor(name).forEach(function(algorithm) {
229229
getValidKeyData(algorithm).forEach(function(test) {
230230
if (test.format === "jwk") {
231-
var data = {crv: test.data.crv, kty: test.data.kty, d: test.data.d, x: test.data.x, d: test.data.d};
231+
var data = {crv: test.data.crv, kty: test.data.kty, d: test.data.d, x: test.data.x, y: test.data.y};
232232
data.ext = false;
233233
var usages = validUsages(vector, 'jwk', test.data);
234234
testError('jwk', algorithm, data, name, usages, true, "DataError", "Import from a non-extractable");
@@ -259,7 +259,7 @@ function run_test(algorithmNames) {
259259
allAlgorithmSpecifiersFor(name).forEach(function(algorithm) {
260260
getValidKeyData(algorithm).forEach(function(test) {
261261
if (test.format === "jwk") {
262-
var data = {crv: test.data.crv, kty: test.data.kty, d: test.data.d, x: test.data.x, d: test.data.d};
262+
var data = {crv: test.data.crv, kty: test.data.kty, d: test.data.d, x: test.data.x, y: test.data.y};
263263
data.crv = getMismatchedCrvField(algorithm)
264264
var usages = validUsages(vector, 'jwk', test.data);
265265
testError('jwk', algorithm, data, name, usages, true, "DataError", "Invalid 'crv' field");

test/fixtures/wpt/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"path": "wasm/webapi"
9393
},
9494
"WebCryptoAPI": {
95-
"commit": "edd42c005cf8192fbae41ec061c14342e7bcac15",
95+
"commit": "164426ace287247bd99e6d1cee31035875ad57a0",
9696
"path": "WebCryptoAPI"
9797
},
9898
"webidl/ecmascript-binding/es-exceptions": {

0 commit comments

Comments
 (0)