diff options
Diffstat (limited to 'tests/wpt/meta/WebCryptoAPI')
3 files changed, 148 insertions, 0 deletions
diff --git a/tests/wpt/meta/WebCryptoAPI/derive_bits_keys/derived_bits_length.https.any.js.ini b/tests/wpt/meta/WebCryptoAPI/derive_bits_keys/derived_bits_length.https.any.js.ini new file mode 100644 index 00000000000..31a54462d23 --- /dev/null +++ b/tests/wpt/meta/WebCryptoAPI/derive_bits_keys/derived_bits_length.https.any.js.ini @@ -0,0 +1,122 @@ +[derived_bits_length.https.any.html] + [HKDF derivation with 256 as 'length' parameter] + expected: FAIL + + [HKDF derivation with 0 as 'length' parameter] + expected: FAIL + + [HKDF derivation with null as 'length' parameter] + expected: FAIL + + [HKDF derivation with undefined as 'length' parameter] + expected: FAIL + + [HKDF derivation with omitted as 'length' parameter] + expected: FAIL + + [PBKDF2 derivation with 256 as 'length' parameter] + expected: FAIL + + [PBKDF2 derivation with 0 as 'length' parameter] + expected: FAIL + + [PBKDF2 derivation with null as 'length' parameter] + expected: FAIL + + [PBKDF2 derivation with undefined as 'length' parameter] + expected: FAIL + + [PBKDF2 derivation with omitted as 'length' parameter] + expected: FAIL + + [ECDH derivation with 256 as 'length' parameter] + expected: FAIL + + [ECDH derivation with 0 as 'length' parameter] + expected: FAIL + + [ECDH derivation with null as 'length' parameter] + expected: FAIL + + [ECDH derivation with undefined as 'length' parameter] + expected: FAIL + + [ECDH derivation with omitted as 'length' parameter] + expected: FAIL + + [X25519 derivation with 256 as 'length' parameter] + expected: FAIL + + [X25519 derivation with 0 as 'length' parameter] + expected: FAIL + + [X25519 derivation with null as 'length' parameter] + expected: FAIL + + [X25519 derivation with undefined as 'length' parameter] + expected: FAIL + + [X25519 derivation with omitted as 'length' parameter] + expected: FAIL + + +[derived_bits_length.https.any.worker.html] + [HKDF derivation with 256 as 'length' parameter] + expected: FAIL + + [HKDF derivation with 0 as 'length' parameter] + expected: FAIL + + [HKDF derivation with null as 'length' parameter] + expected: FAIL + + [HKDF derivation with undefined as 'length' parameter] + expected: FAIL + + [HKDF derivation with omitted as 'length' parameter] + expected: FAIL + + [PBKDF2 derivation with 256 as 'length' parameter] + expected: FAIL + + [PBKDF2 derivation with 0 as 'length' parameter] + expected: FAIL + + [PBKDF2 derivation with null as 'length' parameter] + expected: FAIL + + [PBKDF2 derivation with undefined as 'length' parameter] + expected: FAIL + + [PBKDF2 derivation with omitted as 'length' parameter] + expected: FAIL + + [ECDH derivation with 256 as 'length' parameter] + expected: FAIL + + [ECDH derivation with 0 as 'length' parameter] + expected: FAIL + + [ECDH derivation with null as 'length' parameter] + expected: FAIL + + [ECDH derivation with undefined as 'length' parameter] + expected: FAIL + + [ECDH derivation with omitted as 'length' parameter] + expected: FAIL + + [X25519 derivation with 256 as 'length' parameter] + expected: FAIL + + [X25519 derivation with 0 as 'length' parameter] + expected: FAIL + + [X25519 derivation with null as 'length' parameter] + expected: FAIL + + [X25519 derivation with undefined as 'length' parameter] + expected: FAIL + + [X25519 derivation with omitted as 'length' parameter] + expected: FAIL diff --git a/tests/wpt/meta/WebCryptoAPI/idlharness.https.any.js.ini b/tests/wpt/meta/WebCryptoAPI/idlharness.https.any.js.ini index 5c493662c66..60a8a4fe5b4 100644 --- a/tests/wpt/meta/WebCryptoAPI/idlharness.https.any.js.ini +++ b/tests/wpt/meta/WebCryptoAPI/idlharness.https.any.js.ini @@ -173,6 +173,15 @@ [SubtleCrypto interface: calling unwrapKey(KeyFormat, BufferSource, CryptoKey, AlgorithmIdentifier, AlgorithmIdentifier, boolean, sequence<KeyUsage>) on crypto.subtle with too few arguments must throw TypeError] expected: FAIL + [SubtleCrypto interface: operation deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?)] + expected: FAIL + + [SubtleCrypto interface: crypto.subtle must inherit property "deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?)" with the proper type] + expected: FAIL + + [SubtleCrypto interface: calling deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?) on crypto.subtle with too few arguments must throw TypeError] + expected: FAIL + [idlharness.https.any.html] [Crypto interface: attribute subtle] @@ -348,3 +357,12 @@ [SubtleCrypto interface: calling unwrapKey(KeyFormat, BufferSource, CryptoKey, AlgorithmIdentifier, AlgorithmIdentifier, boolean, sequence<KeyUsage>) on crypto.subtle with too few arguments must throw TypeError] expected: FAIL + + [SubtleCrypto interface: operation deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?)] + expected: FAIL + + [SubtleCrypto interface: crypto.subtle must inherit property "deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?)" with the proper type] + expected: FAIL + + [SubtleCrypto interface: calling deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?) on crypto.subtle with too few arguments must throw TypeError] + expected: FAIL diff --git a/tests/wpt/meta/WebCryptoAPI/import_export/crashtests/importKey-unsettled-promise.https.any.js.ini b/tests/wpt/meta/WebCryptoAPI/import_export/crashtests/importKey-unsettled-promise.https.any.js.ini new file mode 100644 index 00000000000..3b84a9f479b --- /dev/null +++ b/tests/wpt/meta/WebCryptoAPI/import_export/crashtests/importKey-unsettled-promise.https.any.js.ini @@ -0,0 +1,8 @@ +[importKey-unsettled-promise.https.any.html] + [WebCryptoAPI: Assure promise returned by importKey is settled.] + expected: FAIL + + +[importKey-unsettled-promise.https.any.worker.html] + [WebCryptoAPI: Assure promise returned by importKey is settled.] + expected: FAIL |