Commit 9a85290d86d for nodejs
commit 9a85290d86d815aca21c3fe113bbadfdf9d62b38
Author: Node.js GitHub Bot <github-bot@iojs.org>
Date: Mon Oct 5 21:40:14 2026 -0400
test: update WPT for WebCryptoAPI to 3127c3a492
PR-URL: https://github.com/nodejs/node/pull/66492
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
diff --git a/test/fixtures/wpt/WebCryptoAPI/supports.tentative.https.any.js b/test/fixtures/wpt/WebCryptoAPI/supports.tentative.https.any.js
index 294c961a7f0..a74e49e69d1 100644
--- a/test/fixtures/wpt/WebCryptoAPI/supports.tentative.https.any.js
+++ b/test/fixtures/wpt/WebCryptoAPI/supports.tentative.https.any.js
@@ -728,6 +728,25 @@ promise_test(async (t) => {
'deriveKey X25519-HMAC-SHA-256 should fail');
}, 'deriveKey promise tests');
+// Test supports for exportKey op
+test(() => {
+ assert_true(SubtleCrypto.supports('exportKey', 'AES-GCM'),
+ 'exportKey AES-GCM should pass');
+ assert_false(SubtleCrypto.supports('exportKey', 'HKDF'),
+ 'exportKey HKDF should fail');
+ assert_false(SubtleCrypto.supports('exportKey', 'PBKDF2'),
+ 'exportKey PBKDF2 should fail');
+}, 'exportKey tests');
+
+// Test supports for wrapKey op
+test(() => {
+ assert_true(SubtleCrypto.supports('wrapKey', 'AES-KW', 'AES-GCM'),
+ 'wrapKey AES-KW-AES-GCM should pass');
+ assert_false(SubtleCrypto.supports('wrapKey', 'AES-KW', 'HKDF'),
+ 'wrapKey AES-KW-HKDF should fail');
+ assert_false(SubtleCrypto.supports('wrapKey', 'AES-KW', 'PBKDF2'),
+ 'wrapKey AES-KW-PBKDF2 should fail');
+}, 'wrapKey tests');
done();
diff --git a/test/fixtures/wpt/versions.json b/test/fixtures/wpt/versions.json
index 575234705de..33c38735174 100644
--- a/test/fixtures/wpt/versions.json
+++ b/test/fixtures/wpt/versions.json
@@ -100,7 +100,7 @@
"path": "web-locks"
},
"WebCryptoAPI": {
- "commit": "a6a0a0292a4706866328488ffaaace00400edcc6",
+ "commit": "3127c3a492e63578ed2bf76e3d4bda805183b5a3",
"path": "WebCryptoAPI"
},
"webidl": {