Index: LayoutTests/crypto/normalize-algorithm-expected.txt |
diff --git a/LayoutTests/crypto/normalize-algorithm-expected.txt b/LayoutTests/crypto/normalize-algorithm-expected.txt |
index bcf96a0110d6782bdfab70c4832bd33bf7dac5e8..1ca9448c96b68265ec2a3b3914a62dbc44382064 100644 |
--- a/LayoutTests/crypto/normalize-algorithm-expected.txt |
+++ b/LayoutTests/crypto/normalize-algorithm-expected.txt |
@@ -20,7 +20,7 @@ PASS algorithm.name is 'AES-CBC' |
PASS algorithm.iv.length is 16 |
PASS algorithm.iv[3] is 3 |
PASS algorithm.iv[3] is 3 |
-PASS normalizeEncrypt(rawAlgorithm) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
+PASS normalizeEncrypt(rawAlgorithm, aesCbcKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
PASS algorithm.name is 'SHA-384' |
PASS algorithm.name is 'SHA-384' |
PASS algorithm.name is 'AES-CBC' |
@@ -29,14 +29,20 @@ PASS algorithm.iv[1] is 1 |
PASS algorithm.name is 'AES-CBC' |
PASS algorithm.iv.length is 16 |
PASS algorithm.iv[1] is 1 |
-PASS normalizeEncrypt({ name: 'SHA-1' }) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
+PASS normalizeEncrypt({ name: 'SHA-1' }, aesCbcKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
PASS normalizeDigest({ name: 'AES-CBC', iv: originalIv }) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
-PASS normalizeSign({name: 'hmac'}) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
-PASS normalizeSign({name: 'hmac', hash: 'foo'}) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
-PASS normalizeSign({name: 'hmac', hash: { name: 'AES-CBC', iv: originalIv }}) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
+PASS normalizeSign({name: 'hmac'}, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
+PASS normalizeSign({name: 'hmac', hash: 'foo'}, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
+PASS normalizeSign({name: 'hmac', hash: { name: 'AES-CBC', iv: originalIv }}, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
PASS algorithm.name is 'HMAC' |
PASS algorithm.hash.name is 'SHA-1' |
-PASS normalizeEncrypt(validHmacSha1) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
+PASS normalizeEncrypt(validHmacSha1, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
+PASS normalizeSign({name: 'RSASSA-PKCS1-v1_5'}, rsaSsaKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
+PASS normalizeSign({name: 'RSASSA-PKCS1-v1_5', hash: 'foo'}, rsaSsaKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
+PASS normalizeSign({name: 'RSASSA-PKCS1-v1_5', hash: { name: 'AES-CBC', iv: originalIv }}, rsaSsaKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
+PASS algorithm.name is 'RSASSA-PKCS1-v1_5' |
+PASS algorithm.hash.name is 'SHA-256' |
+PASS normalizeEncrypt(validRsaSsa, rsaSsaKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
PASS crypto.subtle.encrypt(algorithmIdentifier, aesCbcKeyNoEncrypt) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
PASS crypto.subtle.encrypt(algorithmIdentifier, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
PASS crypto.subtle.sign(algorithmIdentifier, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |