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

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

Issue 23164012: WebCrypto: Remove support for multi-part operations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Sync to tot 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') | LayoutTests/crypto/sign-verify.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests algorithm normalization.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS algorithm.name is 'SHA-1'
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..
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..
11 PASS normalizeDigest({name: ''}) threw exception NotSupportedError: The implemen tation did not support the requested type of object or operation..
12 PASS normalizeDigest({name: 'nosuchalgorithm'}) threw exception NotSupportedErro r: The implementation did not support the requested type of object or operation. .
13 PASS normalizeDigest({name: '\u0189'}) threw exception SyntaxError: An invalid o r illegal string was specified..
14 PASS normalizeDigest(null) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
15 PASS normalizeDigest(0) threw exception TypeError: Not an object..
16 PASS normalizeDigest(undefined) threw exception NotSupportedError: The implement ation did not support the requested type of object or operation..
17 PASS normalizeDigest('') threw exception TypeError: Not an object..
18 PASS algorithm.noSuchParam is undefined.
19 PASS algorithm.name is 'AES-CBC'
20 PASS algorithm.iv.length is 16
21 PASS algorithm.iv[3] is 3
22 PASS algorithm.iv[3] is 3
23 PASS normalizeEncrypt(rawAlgorithm, aesCbcKey) threw exception NotSupportedError : The implementation did not support the requested type of object or operation..
24 PASS algorithm.name is 'SHA-384'
25 PASS algorithm.name is 'SHA-384'
26 PASS algorithm.name is 'AES-CBC'
27 PASS algorithm.iv.length is 16
28 PASS algorithm.iv[1] is 1
29 PASS algorithm.name is 'AES-CBC'
30 PASS algorithm.iv.length is 16
31 PASS algorithm.iv[1] is 1
32 PASS normalizeEncrypt({ name: 'SHA-1' }, aesCbcKey) threw exception NotSupported Error: The implementation did not support the requested type of object or operat ion..
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'}, hmacSha1Key) threw exception NotSupportedErro r: The implementation did not support the requested type of object or operation. .
35 PASS normalizeSign({name: 'hmac', hash: 'foo'}, hmacSha1Key) threw exception Not SupportedError: The implementation did not support the requested type of object or operation..
36 PASS normalizeSign({name: 'hmac', hash: { name: 'AES-CBC', iv: originalIv }}, hm acSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
37 PASS algorithm.name is 'HMAC'
38 PASS algorithm.hash.name is 'SHA-1'
39 PASS normalizeEncrypt(validHmacSha1, hmacSha1Key) threw exception NotSupportedEr ror: The implementation did not support the requested type of object or operatio n..
40 PASS normalizeSign({name: 'RSASSA-PKCS1-v1_5'}, rsaSsaKey) threw exception NotSu pportedError: The implementation did not support the requested type of object or operation..
41 PASS normalizeSign({name: 'RSASSA-PKCS1-v1_5', hash: 'foo'}, rsaSsaKey) threw ex ception NotSupportedError: The implementation did not support the requested type of object or operation..
42 PASS normalizeSign({name: 'RSASSA-PKCS1-v1_5', hash: { name: 'AES-CBC', iv: orig inalIv }}, rsaSsaKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
43 PASS algorithm.name is 'RSASSA-PKCS1-v1_5'
44 PASS algorithm.hash.name is 'SHA-256'
45 PASS normalizeEncrypt(validRsaSsa, rsaSsaKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
46 PASS crypto.subtle.encrypt(algorithmIdentifier, aesCbcKeyNoEncrypt) threw except ion NotSupportedError: The implementation did not support the requested type of object or operation..
47 PASS crypto.subtle.encrypt(algorithmIdentifier, hmacSha1Key) threw exception Not SupportedError: The implementation did not support the requested type of object or operation..
48 PASS crypto.subtle.sign(algorithmIdentifier, hmacSha1Key) threw exception NotSup portedError: The implementation did not support the requested type of object or operation..
49 PASS successfullyParsed is true
50
51 TEST COMPLETE
52
OLDNEW
« no previous file with comments | « LayoutTests/crypto/normalize-algorithm.html ('k') | LayoutTests/crypto/sign-verify.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698