Upstream version 6.35.121.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / crypto / sign-verify-badParameters-expected.txt
1 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
2 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: Unsupported operation
3 Tests calling cypto.subtle.sign and crypto.subtle.verify with incorrect inputs
4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6
7
8 PASS crypto.subtle.verify(hmac, key, null, data) threw exception TypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument.
9 PASS crypto.subtle.verify(hmac, key, 'a', data) threw exception TypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument.
10 PASS crypto.subtle.verify(hmac, key, [], data) threw exception TypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument.
11 PASS error is null
12 PASS error is null
13 PASS successfullyParsed is true
14
15 TEST COMPLETE
16