From 3543bad7dc6fa83bf11ad3d6c23afb69797d8d44 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 22 Nov 2024 10:45:58 +0000 Subject: [PATCH] Bug 1932390 - WebCrypto: Empty algorithm should return TypeError r=keeler,JavierFernandez Differential Revision: https://phabricator.services.mozilla.com/D229625 --- dom/crypto/WebCryptoTask.cpp | 2 +- .../digest/digest.https.any.js.ini | 26 --- .../failures_AES-CBC.https.any.js.ini | 215 ----------------- .../failures_AES-CTR.https.any.js.ini | 215 ----------------- .../failures_AES-GCM.https.any.js.ini | 215 ----------------- .../failures_AES-KW.https.any.js.ini | 215 ----------------- .../failures_ECDH.https.any.js.ini | 215 ----------------- .../failures_ECDSA.https.any.js.ini | 215 ----------------- .../failures_Ed25519.https.any.js.ini | 215 ----------------- .../failures_Ed448.https.any.js.ini | 216 ------------------ .../failures_HMAC.https.any.js.ini | 215 ----------------- .../failures_RSA-OAEP.https.any.js.ini | 215 ----------------- .../failures_RSA-PSS.https.any.js.ini | 215 ----------------- ...ailures_RSASSA-PKCS1-v1_5.https.any.js.ini | 215 ----------------- .../failures_X25519.https.any.js.ini | 215 ----------------- .../failures_X448.https.any.js.ini | 216 ------------------ 16 files changed, 1 insertion(+), 3039 deletions(-) delete mode 100644 testing/web-platform/meta/WebCryptoAPI/digest/digest.https.any.js.ini diff --git a/dom/crypto/WebCryptoTask.cpp b/dom/crypto/WebCryptoTask.cpp index 17cdf64217ac..3c986fcac3e5 100644 --- a/dom/crypto/WebCryptoTask.cpp +++ b/dom/crypto/WebCryptoTask.cpp @@ -145,7 +145,7 @@ static nsresult GetAlgorithmName(JSContext* aCx, const OOS& aAlgorithm, Algorithm alg; if (!alg.Init(aCx, value)) { - return NS_ERROR_DOM_SYNTAX_ERR; + return NS_ERROR_DOM_TYPE_MISMATCH_ERR; } aName = alg.mName; diff --git a/testing/web-platform/meta/WebCryptoAPI/digest/digest.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/digest/digest.https.any.js.ini deleted file mode 100644 index 33d1bf949788..000000000000 --- a/testing/web-platform/meta/WebCryptoAPI/digest/digest.https.any.js.ini +++ /dev/null @@ -1,26 +0,0 @@ -[digest.https.any.worker.html] - [empty algorithm object with empty] - expected: FAIL - - [empty algorithm object with short] - expected: FAIL - - [empty algorithm object with medium] - expected: FAIL - - [empty algorithm object with long] - expected: FAIL - - -[digest.https.any.html] - [empty algorithm object with empty] - expected: FAIL - - [empty algorithm object with short] - expected: FAIL - - [empty algorithm object with medium] - expected: FAIL - - [empty algorithm object with long] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-CBC.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-CBC.https.any.js.ini index e67530bd6586..0988d4aad139 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-CBC.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-CBC.https.any.js.ini @@ -1,219 +1,4 @@ [failures_AES-CBC.https.any.worker.html] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_AES-CBC.https.any.html] max-asserts: 2 - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-CTR.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-CTR.https.any.js.ini index dfabe9a6788a..c1d28527e5da 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-CTR.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-CTR.https.any.js.ini @@ -1,222 +1,7 @@ [failures_AES-CTR.https.any.worker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_AES-CTR.https.any.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-GCM.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-GCM.https.any.js.ini index 82b568452665..52e022b43ff2 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-GCM.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-GCM.https.any.js.ini @@ -1,222 +1,7 @@ [failures_AES-GCM.https.any.worker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_AES-GCM.https.any.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-KW.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-KW.https.any.js.ini index 0644a942a49b..2fc5839c4108 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-KW.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_AES-KW.https.any.js.ini @@ -1,222 +1,7 @@ [failures_AES-KW.https.any.worker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_AES-KW.https.any.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_ECDH.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_ECDH.https.any.js.ini index 8f504c0104a9..e7a7a9a1a2eb 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_ECDH.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_ECDH.https.any.js.ini @@ -1,222 +1,7 @@ [failures_ECDH.https.any.worker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_ECDH.https.any.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_ECDSA.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_ECDSA.https.any.js.ini index 15c13d405981..c6104227ec1e 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_ECDSA.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_ECDSA.https.any.js.ini @@ -1,222 +1,7 @@ [failures_ECDSA.https.any.worker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_ECDSA.https.any.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_Ed25519.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_Ed25519.https.any.js.ini index 1954881780e8..52040cc5fa45 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_Ed25519.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_Ed25519.https.any.js.ini @@ -1,222 +1,7 @@ [failures_Ed25519.https.any.worker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_Ed25519.https.any.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_Ed448.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_Ed448.https.any.js.ini index f8fdabc6246b..176963bdc306 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_Ed448.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_Ed448.https.any.js.ini @@ -79,114 +79,6 @@ [Empty usages: generateKey({name: Ed448}, true, [\])] expected: FAIL - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_Ed448.https.any.worker.html] expected: @@ -268,111 +160,3 @@ [Empty usages: generateKey({name: Ed448}, true, [\])] expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_HMAC.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_HMAC.https.any.js.ini index b9731eafcb5e..db363246fd1c 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_HMAC.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_HMAC.https.any.js.ini @@ -1,220 +1,5 @@ [failures_HMAC.https.any.worker.html] expected: if (processor == "x86") and (os == "win") and not debug: TIMEOUT - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_HMAC.https.any.html] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSA-OAEP.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSA-OAEP.https.any.js.ini index 25a48aba16b8..9cc9d4e55cb2 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSA-OAEP.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSA-OAEP.https.any.js.ini @@ -1,222 +1,7 @@ [failures_RSA-OAEP.https.any.worker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_RSA-OAEP.https.any.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any.js.ini index 1d2ea27043e1..df0d770ad4e2 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any.js.ini @@ -1,222 +1,7 @@ [failures_RSA-PSS.https.any.worker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_RSA-PSS.https.any.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.https.any.js.ini index 12232825053d..3225308e18d8 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.https.any.js.ini @@ -1,222 +1,7 @@ [failures_RSASSA-PKCS1-v1_5.https.any.worker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_RSASSA-PKCS1-v1_5.https.any.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_X25519.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_X25519.https.any.js.ini index a6445ae9250f..3847f1c708d6 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_X25519.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_X25519.https.any.js.ini @@ -1,222 +1,7 @@ [failures_X25519.https.any.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_X25519.https.any.worker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL diff --git a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_X448.https.any.js.ini b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_X448.https.any.js.ini index 27164418897a..d107f088c92b 100644 --- a/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_X448.https.any.js.ini +++ b/testing/web-platform/meta/WebCryptoAPI/generateKey/failures_X448.https.any.js.ini @@ -97,114 +97,6 @@ [Empty usages: generateKey({name: X448}, true, [\])] expected: FAIL - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - [failures_X448.https.any.html] expected: @@ -304,111 +196,3 @@ [Empty usages: generateKey({name: X448}, true, [\])] expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, decrypt\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits, sign\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [\])] - expected: FAIL - - [Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL - - [Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])] - expected: FAIL