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

Side by Side Diff: LayoutTests/crypto/subtle/hmac/generate-key-expected.txt

Issue 957713004: [WebCrypto] Split LayoutTests/crypto/subtle into per-algorithm directories (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to latest master Created 5 years, 9 months 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
OLDNEW
1 Test generating a HMAC key. 1 Test generating a HMAC key.
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 6
7 Generating a key with default length... 7 Generating a key with default length...
8 error is: TypeError: HmacKeyGenParams: hash: Missing or not an AlgorithmIdentifi er 8 error is: TypeError: HmacKeyGenParams: hash: Missing or not an AlgorithmIdentifi er
9 error is: TypeError: HmacKeyGenParams: hash: Missing or not an AlgorithmIdentifi er 9 error is: TypeError: HmacKeyGenParams: hash: Missing or not an AlgorithmIdentifi er
10 error is: TypeError: HmacKeyGenParams: length: Is not a number 10 error is: TypeError: HmacKeyGenParams: length: Is not a number
11 error is: TypeError: HmacKeyGenParams: length: Is not a number 11 error is: TypeError: HmacKeyGenParams: length: Is not a number
12 PASS key.type is 'secret' 12 PASS key.type is 'secret'
13 PASS key.extractable is true 13 PASS key.extractable is true
14 PASS key.algorithm.name is 'HMAC' 14 PASS key.algorithm.name is 'HMAC'
15 PASS key.algorithm.length is 512 15 PASS key.algorithm.length is 512
16 PASS key.usages is ["sign", "verify"] 16 PASS key.usages is ["sign", "verify"]
17 17
18 Generating a key with custom length... 18 Generating a key with custom length...
19 PASS key.type is 'secret' 19 PASS key.type is 'secret'
20 PASS key.extractable is true 20 PASS key.extractable is true
21 PASS key.algorithm.name is 'HMAC' 21 PASS key.algorithm.name is 'HMAC'
22 PASS key.algorithm.length is 40 22 PASS key.algorithm.length is 40
23 PASS key.usages is ["sign"] 23 PASS key.usages is ["sign"]
24 PASS successfullyParsed is true 24 PASS successfullyParsed is true
25 25
26 TEST COMPLETE 26 TEST COMPLETE
27 27
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/hmac/generate-key.html ('k') | LayoutTests/crypto/subtle/hmac/generateKey-failures.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698