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

Side by Side Diff: LayoutTests/crypto/generateKey-expected.txt

Issue 170243007: [webcrypto] Make all of the crypto.subtle method failures asynchronous. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/generateKey.html ('k') | LayoutTests/crypto/importKey.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 CONSOLE ERROR: Invalid keyUsages argument
1 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required pro perty 2 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required pro perty
2 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange 3 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
3 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange 4 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
4 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange 5 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
5 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Missing required pro perty 6 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Missing required pro perty
6 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange 7 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange
7 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange 8 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange
8 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange 9 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange
9 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Missing required prop erty 10 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Missing required prop erty
10 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra nge 11 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra nge
(...skipping 20 matching lines...) Expand all
31 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis sing or not a Uint8Array 32 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis sing or not a Uint8Array
32 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis sing or not a Uint8Array 33 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis sing or not a Uint8Array
33 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis sing or not a Uint8Array 34 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis sing or not a Uint8Array
34 Tests crypto.subtle.generateKey. 35 Tests crypto.subtle.generateKey.
35 36
36 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 37 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
37 38
38 39
39 PASS crypto.subtle.generateKey(aesCbc, extractable, -1) threw exception TypeErro r: The 3rd argument is neither an array, nor does it have indexed properties.. 40 PASS crypto.subtle.generateKey(aesCbc, extractable, -1) threw exception TypeErro r: The 3rd argument is neither an array, nor does it have indexed properties..
40 PASS crypto.subtle.generateKey(aesCbc, extractable, null) threw exception TypeEr ror: The 3rd argument is neither an array, nor does it have indexed properties.. 41 PASS crypto.subtle.generateKey(aesCbc, extractable, null) threw exception TypeEr ror: The 3rd argument is neither an array, nor does it have indexed properties..
41 PASS crypto.subtle.generateKey(aesCbc, extractable, ['boo']) threw exception Typ eError: Failed to execute 'generateKey' on 'SubtleCrypto': Invalid keyUsages arg ument. 42 PASS: 'crypto.subtle.generateKey(aesCbc, extractable, ['boo'])' rejected with nu ll
42 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc' }, extractable, keyUsages)' r ejected with null 43 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc' }, extractable, keyUsages)' r ejected with null
43 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: 70000 }, extractable , keyUsages)' rejected with null 44 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: 70000 }, extractable , keyUsages)' rejected with null
44 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: -3 }, extractable, k eyUsages)' rejected with null 45 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: -3 }, extractable, k eyUsages)' rejected with null
45 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: -Infinity }, extract able, keyUsages)' rejected with null 46 PASS: 'crypto.subtle.generateKey({ name: 'aes-cbc', length: -Infinity }, extract able, keyUsages)' rejected with null
46 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr' }, extractable, keyUsages)' r ejected with null 47 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr' }, extractable, keyUsages)' r ejected with null
47 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: 70000 }, extractable , keyUsages)' rejected with null 48 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: 70000 }, extractable , keyUsages)' rejected with null
48 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: -3 }, extractable, k eyUsages)' rejected with null 49 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: -3 }, extractable, k eyUsages)' rejected with null
49 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: -Infinity }, extract able, keyUsages)' rejected with null 50 PASS: 'crypto.subtle.generateKey({ name: 'aes-ctr', length: -Infinity }, extract able, keyUsages)' rejected with null
50 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw' }, extractable, keyUsages)' re jected with null 51 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw' }, extractable, keyUsages)' re jected with null
51 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw', length: 70000 }, extractable, keyUsages)' rejected with null 52 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw', length: 70000 }, extractable, keyUsages)' rejected with null
(...skipping 19 matching lines...) Expand all
71 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5'}, extractable , keyUs ages)' rejected with null 72 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5'}, extractable , keyUs ages)' rejected with null
72 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10}, extractable , keyUsages)' rejected with null 73 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10}, extractable , keyUsages)' rejected with null
73 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p ublicExponent: 10}, extractable , keyUsages)' rejected with null 74 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p ublicExponent: 10}, extractable , keyUsages)' rejected with null
74 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p ublicExponent: null}, extractable , keyUsages)' rejected with null 75 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p ublicExponent: null}, extractable , keyUsages)' rejected with null
75 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: '48'}, extractable , keyUsages)' accepted with [object Key] 76 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: '48'}, extractable , keyUsages)' accepted with [object Key]
76 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: true}, extractable , keyUsages)' accepted with [object Key] 77 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: true}, extractable , keyUsages)' accepted with [object Key]
77 PASS successfullyParsed is true 78 PASS successfullyParsed is true
78 79
79 TEST COMPLETE 80 TEST COMPLETE
80 81
OLDNEW
« no previous file with comments | « LayoutTests/crypto/generateKey.html ('k') | LayoutTests/crypto/importKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698