| Index: LayoutTests/crypto/sign-verify-expected.txt
|
| diff --git a/LayoutTests/crypto/sign-verify-expected.txt b/LayoutTests/crypto/sign-verify-expected.txt
|
| index db702de47aeb3b1aad390afeadafa42d72224d55..45977885714526aad3dcdeade0f5dc1c74f35148 100644
|
| --- a/LayoutTests/crypto/sign-verify-expected.txt
|
| +++ b/LayoutTests/crypto/sign-verify-expected.txt
|
| @@ -7,7 +7,7 @@ PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, null, data) threw exception T
|
| PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, 'a', data) threw exception TypeError: Type error.
|
| PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, [], data) threw exception TypeError: Type error.
|
| PASS crypto.subtle.sign({name: 'sha-1'}, keys.hmacSha1, data) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-256'}}, keys.hmacSha1, data) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-256'}}, keys.hmacSha1, data) threw exception NotSupportedError: key.algorithm does not match that of operation (HMAC's hash differs).
|
| PASS crypto.subtle.sign({name: 'hmac'}, keys.hmacSha1, data) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| PASS crypto.subtle.sign({name: 'hmac', hash: 3}, keys.hmacSha1, data) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| PASS crypto.subtle.sign({name: 'hmac', hash: null}, keys.hmacSha1, data) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| @@ -23,6 +23,8 @@ PASS crypto.subtle.sign({name: 'RSASSA-PKCS1-v1_5', hash: {name: 'AES-CBC'}}, ke
|
| PASS signResult.byteLength is 17
|
| PASS verifyResult is true
|
| PASS verifyResult is false
|
| +PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-256'}}, generatedHmacSha1Key, data) threw exception NotSupportedError: key.algorithm does not match that of operation (HMAC's hash differs).
|
| +PASS crypto.subtle.sign(hmacSha1, generatedHmacSha1Key, data) did not throw exception.
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|