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

Side by Side Diff: LayoutTests/crypto/encrypt-decrypt-expected.txt

Issue 22992006: WebCrypto: Add exception messages for algorithm normalization failures. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use trunc() 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/digest-expected.txt ('k') | LayoutTests/crypto/generateKey-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 crypto.subtle.encrypt({name: 'AES-CBC', iv: null}, keys.aesCbc, data) threw exception NotSupportedError: The implementation did not support the requested t ype of object or operation.. 6 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: null}, keys.aesCbc, data) threw exception TypeError: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a Arr ayBufferView.
7 PASS crypto.subtle.encrypt({name: 'AES-CBC'}, keys.aesCbc, data) threw exception NotSupportedError: The implementation did not support the requested type of obj ect or operation.. 7 PASS crypto.subtle.encrypt({name: 'AES-CBC'}, keys.aesCbc, data) threw exception TypeError: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a ArrayBufferVi ew.
8 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: 3}, keys.aesCbc, data) threw ex ception NotSupportedError: The implementation did not support the requested type of object or operation.. 8 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: 3}, keys.aesCbc, data) threw ex ception TypeError: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a ArrayB ufferView.
9 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: new Uint8Array[0]}, keys.aesCbc , data) threw exception TypeError: undefined is not a function. 9 PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: new Uint8Array[0]}, keys.aesCbc , data) threw exception TypeError: undefined is not a function.
10 PASS crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data) threw exception NotSuppo rtedError: key.algorithm does not match that of operation. 10 PASS crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data) threw exception NotSuppo rtedError: key.algorithm does not match that of operation.
11 PASS crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data) threw exception NotSupportedError: key.usages does not permit this operation. 11 PASS crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data) threw exception NotSupportedError: key.usages does not permit this operation.
12 PASS successfullyParsed is true 12 PASS successfullyParsed is true
13 13
14 TEST COMPLETE 14 TEST COMPLETE
15 15
OLDNEW
« no previous file with comments | « LayoutTests/crypto/digest-expected.txt ('k') | LayoutTests/crypto/generateKey-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698