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

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

Issue 243853004: [webcrypto] Reject failed operations with a DOMException rather than null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
2 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: iv: Not an ArrayBufferView
3 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: iv: Not an ArrayBufferView
4 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: additionalData: Not an ArrayBuf ferView
5 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Is not a number
6 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Outside of numeric r ange
7 CONSOLE ERROR: Algorithm: AES-GCM: AesGcmParams: tagLength: Outside of numeric r ange
8 Tests bad algorithm inputs for AES-GCM 1 Tests bad algorithm inputs for AES-GCM
9 2
10 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 ".
11 4
12 5
13 PASS error is null 6 error is: SyntaxError: AesGcmParams: iv: Missing required property
14 PASS error is null 7 error is: SyntaxError: AesGcmParams: iv: Not an ArrayBufferView
15 PASS error is null 8 error is: SyntaxError: AesGcmParams: iv: Not an ArrayBufferView
16 PASS error is null 9 error is: SyntaxError: AesGcmParams: additionalData: Not an ArrayBufferView
17 PASS error is null 10 error is: SyntaxError: AesGcmParams: tagLength: Is not a number
18 PASS error is null 11 error is: SyntaxError: AesGcmParams: tagLength: Outside of numeric range
19 PASS error is null 12 error is: SyntaxError: AesGcmParams: tagLength: Outside of numeric range
20 PASS successfullyParsed is true 13 PASS successfullyParsed is true
21 14
22 TEST COMPLETE 15 TEST COMPLETE
23 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698