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

Side by Side Diff: LayoutTests/crypto/hmac-generateKey-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: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge
2 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: hash: Algorithm: Unrecognized algorithm name
3 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge
4 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number
5 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge
6 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge
7 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number
8 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number
9 CONSOLE ERROR: Invalid key length: it is either zero or not a multiple of 8 bits
10 Tests generateKey() with bad HMAC parameters. 1 Tests generateKey() with bad HMAC parameters.
11 2
12 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 ".
13 4
14 5
15 PASS error is null 6 error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
16 PASS error is null 7 error is: NotSupportedError: HmacKeyGenParams: hash: Algorithm: Unrecognized nam e
17 PASS error is null 8 error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
18 PASS error is null 9 error is: SyntaxError: HmacKeyGenParams: length: Is not a number
19 PASS error is null 10 error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
20 PASS error is null 11 error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
21 PASS error is null 12 error is: SyntaxError: HmacKeyGenParams: length: Is not a number
22 PASS error is null 13 error is: SyntaxError: HmacKeyGenParams: length: Is not a number
23 PASS error is null 14 error is: DataError: Invalid key length: it is either zero or not a multiple of 8 bits
24 PASS successfullyParsed is true 15 PASS successfullyParsed is true
25 16
26 TEST COMPLETE 17 TEST COMPLETE
27 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698