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

Side by Side Diff: LayoutTests/crypto/normalize-algorithm-expected.txt

Issue 20843008: WebCrypto: Check that the key can be used for given operation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase onto master Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/normalize-algorithm.html ('k') | Source/modules/crypto/SubtleCrypto.cpp » ('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 algorithm normalization. 1 Tests algorithm normalization.
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 algorithm.name is 'SHA-1' 6 PASS algorithm.name is 'SHA-1'
7 PASS algorithm.name is 'SHA-256' 7 PASS algorithm.name is 'SHA-256'
8 PASS normalizeDigest({}) threw exception NotSupportedError: The implementation d id not support the requested type of object or operation.. 8 PASS normalizeDigest({}) threw exception NotSupportedError: The implementation d id not support the requested type of object or operation..
9 PASS normalizeDigest({name: null}) threw exception NotSupportedError: The implem entation did not support the requested type of object or operation.. 9 PASS normalizeDigest({name: null}) threw exception NotSupportedError: The implem entation did not support the requested type of object or operation..
10 PASS normalizeDigest({name: -1}) threw exception NotSupportedError: The implemen tation did not support the requested type of object or operation.. 10 PASS normalizeDigest({name: -1}) threw exception NotSupportedError: The implemen tation did not support the requested type of object or operation..
(...skipping 19 matching lines...) Expand all
30 PASS algorithm.iv.length is 16 30 PASS algorithm.iv.length is 16
31 PASS algorithm.iv[1] is 1 31 PASS algorithm.iv[1] is 1
32 PASS normalizeEncrypt({ name: 'SHA-1' }) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. 32 PASS normalizeEncrypt({ name: 'SHA-1' }) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
33 PASS normalizeDigest({ name: 'AES-CBC', iv: originalIv }) threw exception NotSup portedError: The implementation did not support the requested type of object or operation.. 33 PASS normalizeDigest({ name: 'AES-CBC', iv: originalIv }) threw exception NotSup portedError: The implementation did not support the requested type of object or operation..
34 PASS normalizeSign({name: 'hmac'}) threw exception NotSupportedError: The implem entation did not support the requested type of object or operation.. 34 PASS normalizeSign({name: 'hmac'}) threw exception NotSupportedError: The implem entation did not support the requested type of object or operation..
35 PASS normalizeSign({name: 'hmac', hash: 'foo'}) threw exception NotSupportedErro r: The implementation did not support the requested type of object or operation. . 35 PASS normalizeSign({name: 'hmac', hash: 'foo'}) threw exception NotSupportedErro r: The implementation did not support the requested type of object or operation. .
36 PASS normalizeSign({name: 'hmac', hash: { name: 'AES-CBC', iv: originalIv }}) th rew exception NotSupportedError: The implementation did not support the requeste d type of object or operation.. 36 PASS normalizeSign({name: 'hmac', hash: { name: 'AES-CBC', iv: originalIv }}) th rew exception NotSupportedError: The implementation did not support the requeste d type of object or operation..
37 PASS algorithm.name is 'HMAC' 37 PASS algorithm.name is 'HMAC'
38 PASS algorithm.hash.name is 'SHA-1' 38 PASS algorithm.hash.name is 'SHA-1'
39 PASS normalizeEncrypt(validHmacSha1) threw exception NotSupportedError: The impl ementation did not support the requested type of object or operation.. 39 PASS normalizeEncrypt(validHmacSha1) threw exception NotSupportedError: The impl ementation did not support the requested type of object or operation..
40 PASS crypto.subtle.encrypt(algorithmIdentifier, aesCbcKeyNoEncrypt) threw except ion NotSupportedError: The implementation did not support the requested type of object or operation..
41 PASS crypto.subtle.encrypt(algorithmIdentifier, hmacSha1Key) threw exception Not SupportedError: The implementation did not support the requested type of object or operation..
42 PASS crypto.subtle.sign(algorithmIdentifier, hmacSha1Key) threw exception NotSup portedError: The implementation did not support the requested type of object or operation..
40 PASS successfullyParsed is true 43 PASS successfullyParsed is true
41 44
42 TEST COMPLETE 45 TEST COMPLETE
43 46
OLDNEW
« no previous file with comments | « LayoutTests/crypto/normalize-algorithm.html ('k') | Source/modules/crypto/SubtleCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698