From 816359583c55ced698ed450d644d82a6d25213c9 Mon Sep 17 00:00:00 2001 From: Servo WPT Sync <32481905+servo-wpt-sync@users.noreply.github.com> Date: Sun, 7 Jul 2024 03:23:54 -0400 Subject: Update web-platform-tests to revision b'4e3b5de2eb8218cf18a1674618994efeb96e2cc0' (#32717) Signed-off-by: WPT Sync Bot --- .../derived_bits_length.https.any.js.ini | 122 +++++++++++++++++++++ .../meta/WebCryptoAPI/idlharness.https.any.js.ini | 18 +++ .../importKey-unsettled-promise.https.any.js.ini | 8 ++ 3 files changed, 148 insertions(+) create mode 100644 tests/wpt/meta/WebCryptoAPI/derive_bits_keys/derived_bits_length.https.any.js.ini create mode 100644 tests/wpt/meta/WebCryptoAPI/import_export/crashtests/importKey-unsettled-promise.https.any.js.ini (limited to 'tests/wpt/meta/WebCryptoAPI') 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) 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) 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 -- cgit v1.2.3