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

Side by Side Diff: LayoutTests/crypto/importKey-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: Fix compile warning Created 6 years, 7 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/importKey-badParameters.html ('k') | LayoutTests/crypto/resources/common.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE ERROR: Invalid keyData argument
2 CONSOLE ERROR: Invalid keyData argument
3 CONSOLE ERROR: Algorithm: Not an object
4 CONSOLE ERROR: Invalid keyFormat argument
5 CONSOLE ERROR: Invalid keyUsages argument
6 CONSOLE ERROR: Invalid keyFormat argument
7 CONSOLE ERROR: Algorithm: HMAC: HmacImportParams: hash: Missing or not a diction ary
8 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
9 Tests calling cypto.subtle.importKey with bad parameters 1 Tests calling cypto.subtle.importKey with bad parameters
10 2
11 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 ".
12 4
13 5
14 PASS error is null 6 error is: DataError: Invalid keyData argument
15 PASS error is null 7 error is: DataError: Invalid keyData argument
16 PASS error is null 8 error is: SyntaxError: Algorithm: Not an object
17 PASS error is null 9 error is: SyntaxError: Invalid keyFormat argument
18 PASS error is null 10 error is: SyntaxError: Invalid keyUsages argument
19 PASS error is null 11 error is: SyntaxError: Invalid keyFormat argument
20 PASS error is null 12 error is: SyntaxError: HmacImportParams: hash: Missing or not a dictionary
21 PASS error is null 13 error is: NotSupportedError: SHA-1: Unsupported operation: importKey
22 PASS successfullyParsed is true 14 PASS successfullyParsed is true
23 15
24 TEST COMPLETE 16 TEST COMPLETE
25 17
OLDNEW
« no previous file with comments | « LayoutTests/crypto/importKey-badParameters.html ('k') | LayoutTests/crypto/resources/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698