Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: LayoutTests/crypto/sign-verify-expected.txt

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « LayoutTests/crypto/importKey-expected.txt ('k') | LayoutTests/css3/supports-cssom.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Tests cypto.subtle.sign and crypto.subtle.verify 1 Tests cypto.subtle.sign and crypto.subtle.verify
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS tmpKey.type is 'secret' 6 PASS tmpKey.type is 'secret'
7 PASS tmpKey.extractable is false 7 PASS tmpKey.extractable is false
8 PASS tmpKey.algorithm.name is 'HMAC' 8 PASS tmpKey.algorithm.name is 'HMAC'
9 PASS tmpKey.algorithm.hash.name is tmpHashName 9 PASS tmpKey.algorithm.hash.name is tmpHashName
10 PASS tmpKey.usages.join(',') is 'sign,verify' 10 PASS tmpKey.usages.join(',') is 'sign,verify'
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 PASS verifyResult is true 44 PASS verifyResult is true
45 PASS verifyResult is true 45 PASS verifyResult is true
46 PASS verifyResult is true 46 PASS verifyResult is true
47 PASS verifyResult is true 47 PASS verifyResult is true
48 PASS verifyResult is false 48 PASS verifyResult is false
49 PASS verifyResult is false 49 PASS verifyResult is false
50 PASS verifyResult is false 50 PASS verifyResult is false
51 PASS verifyResult is false 51 PASS verifyResult is false
52 PASS verifyResult is false 52 PASS verifyResult is false
53 PASS verifyResult is false 53 PASS verifyResult is false
54 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, null, data) threw exception T ypeError: Invalid signature argument. 54 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, null, data) threw exception T ypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argume nt.
55 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, 'a', data) threw exception Ty peError: Invalid signature argument. 55 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, 'a', data) threw exception Ty peError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argumen t.
56 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, [], data) threw exception Typ eError: Invalid signature argument. 56 PASS crypto.subtle.verify(hmacSha1, keys.hmacSha1, [], data) threw exception Typ eError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument .
57 PASS crypto.subtle.sign({name: 'sha-1'}, keys.hmacSha1, data) threw exception No tSupportedError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: SHA-1: U nsupported operation. 57 PASS crypto.subtle.sign({name: 'sha-1'}, keys.hmacSha1, data) threw exception No tSupportedError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: SHA-1: U nsupported operation.
58 PASS crypto.subtle.sign({name: 'RSAES-PKCS1-v1_5'}, keys.hmacSha1, data) threw e xception NotSupportedError: Failed to execute 'sign' on 'SubtleCrypto': Algorith m: RSAES-PKCS1-v1_5: Unsupported operation. 58 PASS crypto.subtle.sign({name: 'RSAES-PKCS1-v1_5'}, keys.hmacSha1, data) threw e xception NotSupportedError: Failed to execute 'sign' on 'SubtleCrypto': Algorith m: RSAES-PKCS1-v1_5: Unsupported operation.
59 PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-256'}}, keys.hmacSha1, data) threw exception NotSupportedError: key.algorithm does not match that of op eration (HMAC's hash differs). 59 PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-256'}}, keys.hmacSha1, data) threw exception NotSupportedError: Failed to execute 'sign' on 'SubtleCryp to': key.algorithm does not match that of operation (HMAC's hash differs).
60 PASS crypto.subtle.sign({name: 'hmac'}, keys.hmacSha1, data) threw exception Typ eError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: HmacParams: hash: Missing or not a dictionary. 60 PASS crypto.subtle.sign({name: 'hmac'}, keys.hmacSha1, data) threw exception Typ eError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: HmacParams: hash: Missing or not a dictionary.
61 PASS crypto.subtle.sign({name: 'hmac', hash: 3}, keys.hmacSha1, data) threw exce ption TypeError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: Hm acParams: hash: Algorithm: Not an object. 61 PASS crypto.subtle.sign({name: 'hmac', hash: 3}, keys.hmacSha1, data) threw exce ption TypeError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: Hm acParams: hash: Algorithm: Not an object.
62 PASS crypto.subtle.sign({name: 'hmac', hash: null}, keys.hmacSha1, data) threw e xception TypeError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: HmacParams: hash: Algorithm: Not an object. 62 PASS crypto.subtle.sign({name: 'hmac', hash: null}, keys.hmacSha1, data) threw e xception TypeError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: HmacParams: hash: Algorithm: Not an object.
63 PASS crypto.subtle.sign({name: 'hmac', hash: {}}, keys.hmacSha1, data) threw exc eption TypeError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: H macParams: hash: Algorithm: name: Missing or not a string. 63 PASS crypto.subtle.sign({name: 'hmac', hash: {}}, keys.hmacSha1, data) threw exc eption TypeError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: H macParams: hash: Algorithm: name: Missing or not a string.
64 PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'foo'}}, keys.hmacSha1, data ) threw exception NotSupportedError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: HmacParams: hash: Algorithm: Unrecognized algorithm name. 64 PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'foo'}}, keys.hmacSha1, data ) threw exception NotSupportedError: Failed to execute 'sign' on 'SubtleCrypto': Algorithm: HMAC: HmacParams: hash: Algorithm: Unrecognized algorithm name.
65 PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'AES-CBC'}}, keys.hmacSha1, data) threw exception NotSupportedError: Failed to execute 'sign' on 'SubtleCryp to': Algorithm: HMAC: HmacParams: hash: Algorithm: AES-CBC: Unsupported operatio n. 65 PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'AES-CBC'}}, keys.hmacSha1, data) threw exception NotSupportedError: Failed to execute 'sign' on 'SubtleCryp to': Algorithm: HMAC: HmacParams: hash: Algorithm: AES-CBC: Unsupported operatio n.
66 PASS successfullyParsed is true 66 PASS successfullyParsed is true
67 67
68 TEST COMPLETE 68 TEST COMPLETE
69 69
OLDNEW
« no previous file with comments | « LayoutTests/crypto/importKey-expected.txt ('k') | LayoutTests/css3/supports-cssom.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698