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

Side by Side Diff: LayoutTests/crypto/encrypt-decrypt-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/digest-expected.txt ('k') | LayoutTests/crypto/exportKey-expected.txt » ('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.encrypt and crypto.subtle.decrypt 1 Tests cypto.subtle.encrypt and crypto.subtle.decrypt
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: Failed to import key of length 0 bytes 6 PASS: Failed to import key of length 0 bytes
7 PASS: Failed to import key of length 1 bytes 7 PASS: Failed to import key of length 1 bytes
8 PASS: Failed to import key of length 15 bytes 8 PASS: Failed to import key of length 15 bytes
9 PASS: Failed to import key of length 17 bytes 9 PASS: Failed to import key of length 17 bytes
10 PASS: Failed to import key of length 31 bytes 10 PASS: Failed to import key of length 31 bytes
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: new Uint8Array[0]}, keys.aesCbc , data) threw exception TypeError: undefined is not a function. 50 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: new Uint8Array[0]}, keys.aesCbc , data) threw exception TypeError: undefined is not a function.
51 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: null}, keys.aesCtr, data) threw exception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algori thm: AES-CTR: AesCtrParams: counter: Missing or not a Uint8Array. 51 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: null}, keys.aesCtr, data) threw exception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algori thm: AES-CTR: AesCtrParams: counter: Missing or not a Uint8Array.
52 PASS crypto.subtle.encrypt({name: 'AES-CTR'}, keys.aesCtr, data) threw exception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algorithm: AES-CTR: A esCtrParams: counter: Missing or not a Uint8Array. 52 PASS crypto.subtle.encrypt({name: 'AES-CTR'}, keys.aesCtr, data) threw exception TypeError: Failed to execute 'encrypt' on 'SubtleCrypto': Algorithm: AES-CTR: A esCtrParams: counter: Missing or not a Uint8Array.
53 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[0]}, keys.a esCtr, data) threw exception TypeError: undefined is not a function. 53 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[0]}, keys.a esCtr, data) threw exception TypeError: undefined is not a function.
54 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16]}, keys. aesCtr, data) threw exception TypeError: undefined is not a function. 54 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16]}, keys. aesCtr, data) threw exception TypeError: undefined is not a function.
55 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16]}, keys. aesCtr, data) threw exception TypeError: undefined is not a function. 55 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16]}, keys. aesCtr, data) threw exception TypeError: undefined is not a function.
56 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length : 0}, keys.aesCtr, data) threw exception TypeError: undefined is not a function. 56 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length : 0}, keys.aesCtr, data) threw exception TypeError: undefined is not a function.
57 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length : 18}, keys.aesCtr, data) threw exception TypeError: undefined is not a function . 57 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length : 18}, keys.aesCtr, data) threw exception TypeError: undefined is not a function .
58 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length : -3}, keys.aesCtr, data) threw exception TypeError: undefined is not a function . 58 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length : -3}, keys.aesCtr, data) threw exception TypeError: undefined is not a function .
59 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length : Infinity}, keys.aesCtr, data) threw exception TypeError: undefined is not a fu nction. 59 PASS crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array[16], length : Infinity}, keys.aesCtr, data) threw exception TypeError: undefined is not a fu nction.
60 PASS crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data) threw exception NotSuppo rtedError: key.algorithm does not match that of operation. 60 PASS crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data) threw exception NotSuppo rtedError: Failed to execute 'encrypt' on 'SubtleCrypto': key.algorithm does not match that of operation.
61 PASS crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data) threw exception NotSupportedError: key.usages does not permit this operation. 61 PASS crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data) threw exception NotSupportedError: Failed to execute 'encrypt' on 'SubtleCrypto': key.usages do es not permit this operation.
62 PASS crypto.subtle.encrypt({name: 'bogus'}, null, data) threw exception TypeErro r: Invalid key argument. 62 PASS crypto.subtle.encrypt({name: 'bogus'}, null, data) threw exception TypeErro r: Failed to execute 'encrypt' on 'SubtleCrypto': Invalid key argument.
63 PASS successfullyParsed is true 63 PASS successfullyParsed is true
64 64
65 TEST COMPLETE 65 TEST COMPLETE
66 66
OLDNEW
« no previous file with comments | « LayoutTests/crypto/digest-expected.txt ('k') | LayoutTests/crypto/exportKey-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698