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

Side by Side Diff: LayoutTests/crypto/importKey-badParameters-expected.txt

Issue 336173002: [webcrypto] Require importKey() for JWK to provide data as a Javascript object rather than a JSON a… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update additional tests Created 6 years, 6 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 Tests calling cypto.subtle.importKey with bad parameters 1 Tests calling cypto.subtle.importKey with bad parameters
2 2
3 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 ".
4 4
5 5
6 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No functio n was found that matched the signature provided. 6 error is: DataError: Key data must be a buffer for non-JWK formats
7 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No functio n was found that matched the signature provided. 7 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No functio n was found that matched the signature provided.
8 error is: SyntaxError: Algorithm: Not an object 8 error is: SyntaxError: Algorithm: Not an object
9 error is: SyntaxError: Invalid keyFormat argument 9 error is: SyntaxError: Invalid keyFormat argument
10 error is: SyntaxError: Invalid keyUsages argument 10 error is: SyntaxError: Invalid keyUsages argument
11 error is: SyntaxError: Invalid keyFormat argument 11 error is: SyntaxError: Invalid keyFormat argument
12 error is: SyntaxError: HmacImportParams: hash: Missing or not a dictionary 12 error is: SyntaxError: HmacImportParams: hash: Missing or not a dictionary
13 error is: NotSupportedError: SHA-1: Unsupported operation: importKey 13 error is: NotSupportedError: SHA-1: Unsupported operation: importKey
14 PASS successfullyParsed is true 14 PASS successfullyParsed is true
15 15
16 TEST COMPLETE 16 TEST COMPLETE
17 17
OLDNEW
« no previous file with comments | « LayoutTests/crypto/import-jwk-expected.txt ('k') | LayoutTests/crypto/jwk-import-use-values.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698