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

Side by Side Diff: LayoutTests/crypto/wrapKey-badParameters-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: Invalid key argument
2 CONSOLE ERROR: Invalid wrappingKey argument
3 CONSOLE ERROR: Algorithm: Not an object
4 CONSOLE ERROR: Invalid keyFormat argument
5 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
6 CONSOLE ERROR: key.algorithm does not match that of operation
7 Tests calls to wrapKey() with bad inputs. 1 Tests calls to wrapKey() with bad inputs.
8 2
9 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 ".
10 4
11 5
12 PASS error is null 6 error is: DataError: Invalid key argument
13 PASS error is null 7 error is: DataError: Invalid wrappingKey argument
14 PASS error is null 8 error is: SyntaxError: Algorithm: Not an object
15 PASS error is null 9 error is: SyntaxError: Invalid keyFormat argument
16 PASS error is null 10 error is: NotSupportedError: SHA-1: Unsupported operation: wrapKey
17 PASS error is null 11 error is: InvalidAccessError: key.algorithm does not match that of operation
18 PASS successfullyParsed is true 12 PASS successfullyParsed is true
19 13
20 TEST COMPLETE 14 TEST COMPLETE
21 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698