Index: LayoutTests/crypto/sign-verify-expected.txt |
diff --git a/LayoutTests/crypto/sign-verify-expected.txt b/LayoutTests/crypto/sign-verify-expected.txt |
index 3111d0fc76ac2f62c312f5049b9279e107fd9bca..adf41401069ef9941951433b53217c56c82cedb2 100644 |
--- a/LayoutTests/crypto/sign-verify-expected.txt |
+++ b/LayoutTests/crypto/sign-verify-expected.txt |
@@ -51,12 +51,12 @@ PASS verifyResult is false |
PASS verifyResult is false |
PASS verifyResult is false |
PASS verifyResult is false |
-PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, null, data) threw exception TypeError: Invalid signature argument. |
-PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, 'a', data) threw exception TypeError: Invalid signature argument. |
-PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, [], data) threw exception TypeError: Invalid signature argument. |
+PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, null, data) threw exception TypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument. |
+PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, 'a', data) threw exception TypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument. |
+PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, [], data) threw exception TypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument. |
PASS crypto.subtle.sign({name: 'sha-1'}, keys.hmacSha1, data) threw exception NotSupportedError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: SHA-1: Unsupported operation. |
PASS crypto.subtle.sign({name: 'RSAES-PKCS1-v1_5'}, keys.hmacSha1, data) threw exception NotSupportedError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: RSAES-PKCS1-v1_5: Unsupported 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', hash: {name: 'sha-256'}}, keys.hmacSha1, data) threw exception NotSupportedError: Failed to execute 'sign' on 'SubtleCrypto': key.algorithm does not match that of operation (HMAC's hash differs). |
PASS crypto.subtle.sign({name: 'hmac'}, keys.hmacSha1, data) threw exception TypeError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: HmacParams: hash: Missing or not a dictionary. |
PASS crypto.subtle.sign({name: 'hmac', hash: 3}, keys.hmacSha1, data) threw exception TypeError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: HmacParams: hash: Algorithm: Not an object. |
PASS crypto.subtle.sign({name: 'hmac', hash: null}, keys.hmacSha1, data) threw exception TypeError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: HmacParams: hash: Algorithm: Not an object. |