diff --git a/cli/tests/unit/webcrypto_test.ts b/cli/tests/unit/webcrypto_test.ts index 1082cbb571..bdb99e8b76 100644 --- a/cli/tests/unit/webcrypto_test.ts +++ b/cli/tests/unit/webcrypto_test.ts @@ -26,7 +26,6 @@ Deno.test(async function testImportArrayBufferKey() { await subtle.sign({ name: "HMAC" }, cryptoKey, new Uint8Array(8)); }); -// TODO(@littledivy): Remove this when we enable WPT for sign_verify Deno.test(async function testSignVerify() { const subtle = window.crypto.subtle; assert(subtle); @@ -99,7 +98,6 @@ const hashPlainTextVector = [ }, ]; -// TODO(@littledivy): Remove this when we enable WPT for encrypt_decrypt Deno.test(async function testEncryptDecrypt() { const subtle = window.crypto.subtle; assert(subtle); @@ -717,7 +715,6 @@ Deno.test(async function testAesCtrEncryptDecrypt() { } }); -// TODO(@littledivy): Enable WPT when we have importKey support Deno.test(async function testECDH() { const namedCurve = "P-256"; const keyPair = await crypto.subtle.generateKey( diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js index ed179a3135..b4b317b3cf 100644 --- a/ext/crypto/00_crypto.js +++ b/ext/crypto/00_crypto.js @@ -1003,7 +1003,6 @@ case "AES-KW": { return exportKeyAES(format, key, innerKey); } - // TODO(@littledivy): ECDSA default: throw new DOMException("Not implemented", "NotSupportedError"); }