aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/WebCryptoAPI
diff options
context:
space:
mode:
authorServo WPT Sync <32481905+servo-wpt-sync@users.noreply.github.com>2024-07-07 03:23:54 -0400
committerGitHub <noreply@github.com>2024-07-07 07:23:54 +0000
commit816359583c55ced698ed450d644d82a6d25213c9 (patch)
tree1c684eb7e1dcc11bd33d7a5c26251b38b3455a37 /tests/wpt/meta/WebCryptoAPI
parent141a594e236201acb44ca7cc42e2e653f4d55e7b (diff)
downloadservo-816359583c55ced698ed450d644d82a6d25213c9.tar.gz
servo-816359583c55ced698ed450d644d82a6d25213c9.zip
Update web-platform-tests to revision b'4e3b5de2eb8218cf18a1674618994efeb96e2cc0' (#32717)
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
Diffstat (limited to 'tests/wpt/meta/WebCryptoAPI')
-rw-r--r--tests/wpt/meta/WebCryptoAPI/derive_bits_keys/derived_bits_length.https.any.js.ini122
-rw-r--r--tests/wpt/meta/WebCryptoAPI/idlharness.https.any.js.ini18
-rw-r--r--tests/wpt/meta/WebCryptoAPI/import_export/crashtests/importKey-unsettled-promise.https.any.js.ini8
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