Index: LayoutTests/crypto/importKey-expected.txt |
diff --git a/LayoutTests/crypto/importKey-expected.txt b/LayoutTests/crypto/importKey-expected.txt |
index 9f7192c0d9780a7f27ac4959c34789ed1d5d36ef..b0a447a9b44e16861e2c676744bb946ab1945fcc 100644 |
--- a/LayoutTests/crypto/importKey-expected.txt |
+++ b/LayoutTests/crypto/importKey-expected.txt |
@@ -5,23 +5,24 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE |
PASS key.type is 'private' |
PASS key.extractable is true |
-PASS key.algorithm.name is 'SHA-256' |
+PASS key.algorithm.name is 'HMAC' |
+PASS key.algorithm.hash.name is 'SHA-256' |
PASS key.usages.join(',') is 'encrypt,sign' |
PASS key.type is 'private' |
PASS key.extractable is true |
-PASS key.algorithm.name is 'SHA-256' |
+PASS key.algorithm.name is 'AES-CBC' |
PASS key.usages.join(',') is '' |
PASS key.type is 'private' |
PASS key.extractable is false |
-PASS key.algorithm.name is 'SHA-256' |
+PASS key.algorithm.name is 'AES-CBC' |
PASS key.usages.join(',') is '' |
PASS key.type is 'public' |
PASS key.extractable is false |
-PASS key.algorithm.name is 'SHA-256' |
+PASS key.algorithm.name is 'AES-CBC' |
PASS key.usages.join(',') is '' |
PASS key.type is 'public' |
PASS key.extractable is false |
-PASS key.algorithm.name is 'SHA-256' |
+PASS key.algorithm.name is 'AES-CBC' |
PASS key.usages.join(',') is '' |
rejected with null |
PASS crypto.subtle.importKey(keyFormat, data, algorithm, extractable, keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
@@ -29,6 +30,8 @@ PASS crypto.subtle.importKey('invalid format', data, algorithm, extractable, key |
PASS crypto.subtle.importKey(keyFormat, data, algorithm, extractable, ['SIGN']) threw exception TypeError: Type error. |
PASS crypto.subtle.importKey(keyFormat, [], algorithm, extractable, keyUsages) threw exception TypeError: Type error. |
PASS crypto.subtle.importKey(keyFormat, null, algorithm, extractable, keyUsages) threw exception TypeError: Type error. |
+PASS crypto.subtle.importKey(keyFormat, data, invalidHmac, extractable, keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
+PASS crypto.subtle.importKey(keyFormat, data, sha1, extractable, keyUsages) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. |
PASS successfullyParsed is true |
TEST COMPLETE |