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

Side by Side Diff: LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt

Issue 215153005: [refactor] Split up generateKey.html into multiple files, and test errors directly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Re-upload with --similarity=20 Created 6 years, 8 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
OLDNEW
1 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: iv: Missing required property 1 CONSOLE ERROR: Invalid keyUsages argument
2 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: iv: Not an ArrayBufferView 2 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required pro perty
3 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: iv: Not an ArrayBufferView 3 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
4 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: additionalData: Not an ArrayBuf ferView 4 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
5 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Is not a number 5 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
6 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Outside of numeric r ange 6 Tests generateKey() with bad AES-CBC parameters.
7 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Outside of numeric r ange
8 Tests bad algorithm inputs for AES-GCM
9 7
10 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
11 9
12 10
11 PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: 1024 }, extractable, - 1) threw exception TypeError: The 3rd argument is neither an array, nor does it have indexed properties..
12 PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: 1024 }, extractable, n ull) threw exception TypeError: The 3rd argument is neither an array, nor does i t have indexed properties..
13 PASS error is null 13 PASS error is null
14 PASS error is null 14 PASS error is null
15 PASS error is null 15 PASS error is null
16 PASS error is null
17 PASS error is null
18 PASS error is null 16 PASS error is null
19 PASS error is null 17 PASS error is null
20 PASS successfullyParsed is true 18 PASS successfullyParsed is true
21 19
22 TEST COMPLETE 20 TEST COMPLETE
23 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698