diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-06-06 18:57:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-06 12:57:10 +0200 |
commit | 3f9187c366be362a219274ded5be9e679b96af98 (patch) | |
tree | 75dae6273afd4fa8fb300360df18bcbd2914edfc /tools | |
parent | 633c5aab1f28538dde619fe755f8ec9fa77a3719 (diff) |
feat(extensions/crypto): implement subtle.digest (#10796)
Co-authored-by: Yacine Hmito yacinehmito@users.noreply.github.com
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wpt/expectation.json | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index d87017c9e..d724b6b5c 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -19,7 +19,7 @@ "pbkdf2.https.any.html?8001-last": false }, "digest": { - "digest.https.any.html": false + "digest.https.any.html": true }, "encrypt_decrypt": { "aes_cbc.https.any.html": false, @@ -70,11 +70,12 @@ "successes_RSASSA-PKCS1-v1_5.https.any.html?21-30": false, "successes_RSASSA-PKCS1-v1_5.https.any.html?31-last": false }, - "historical.any.html": true, + "historical.any.html": [ + "Non-secure context window does not have access to crypto.subtle", + "Non-secure context window does not have access to SubtleCrypto" + ], "idlharness.https.any.html": [ - "Crypto interface: attribute subtle", "Crypto interface: operation getRandomValues(ArrayBufferView)", - "Crypto interface: crypto must inherit property \"subtle\" with the proper type", "CryptoKey interface: existence and properties of interface object", "CryptoKey interface object length", "CryptoKey interface object name", @@ -85,12 +86,6 @@ "CryptoKey interface: attribute extractable", "CryptoKey interface: attribute algorithm", "CryptoKey interface: attribute usages", - "SubtleCrypto interface: existence and properties of interface object", - "SubtleCrypto interface object length", - "SubtleCrypto interface object name", - "SubtleCrypto interface: existence and properties of interface prototype object", - "SubtleCrypto interface: existence and properties of interface prototype object's \"constructor\" property", - "SubtleCrypto interface: existence and properties of interface prototype object's @@unscopables property", "SubtleCrypto interface: operation encrypt(AlgorithmIdentifier, CryptoKey, BufferSource)", "SubtleCrypto interface: operation decrypt(AlgorithmIdentifier, CryptoKey, BufferSource)", "SubtleCrypto interface: operation sign(AlgorithmIdentifier, CryptoKey, BufferSource)", @@ -103,7 +98,6 @@ "SubtleCrypto interface: operation exportKey(KeyFormat, CryptoKey)", "SubtleCrypto interface: operation wrapKey(KeyFormat, CryptoKey, CryptoKey, AlgorithmIdentifier)", "SubtleCrypto interface: operation unwrapKey(KeyFormat, BufferSource, CryptoKey, AlgorithmIdentifier, AlgorithmIdentifier, boolean, sequence<KeyUsage>)", - "SubtleCrypto must be primary interface of crypto.subtle", "Stringification of crypto.subtle", "SubtleCrypto interface: crypto.subtle must inherit property \"encrypt(AlgorithmIdentifier, CryptoKey, BufferSource)\" with the proper type", "SubtleCrypto interface: calling encrypt(AlgorithmIdentifier, CryptoKey, BufferSource) on crypto.subtle with too few arguments must throw TypeError", @@ -113,8 +107,6 @@ "SubtleCrypto interface: calling sign(AlgorithmIdentifier, CryptoKey, BufferSource) on crypto.subtle with too few arguments must throw TypeError", "SubtleCrypto interface: crypto.subtle must inherit property \"verify(AlgorithmIdentifier, CryptoKey, BufferSource, BufferSource)\" with the proper type", "SubtleCrypto interface: calling verify(AlgorithmIdentifier, CryptoKey, BufferSource, BufferSource) on crypto.subtle with too few arguments must throw TypeError", - "SubtleCrypto interface: crypto.subtle must inherit property \"digest(AlgorithmIdentifier, BufferSource)\" with the proper type", - "SubtleCrypto interface: calling digest(AlgorithmIdentifier, BufferSource) on crypto.subtle with too few arguments must throw TypeError", "SubtleCrypto interface: crypto.subtle must inherit property \"generateKey(AlgorithmIdentifier, boolean, sequence<KeyUsage>)\" with the proper type", "SubtleCrypto interface: calling generateKey(AlgorithmIdentifier, boolean, sequence<KeyUsage>) on crypto.subtle with too few arguments must throw TypeError", "SubtleCrypto interface: crypto.subtle must inherit property \"deriveKey(AlgorithmIdentifier, CryptoKey, AlgorithmIdentifier, boolean, sequence<KeyUsage>)\" with the proper type", @@ -1218,4 +1210,4 @@ "set.any.html": true } } -}
\ No newline at end of file +} |