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

Side by Side Diff: LayoutTests/crypto/import-jwk-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 Test error handling for JWK import. 1 Test error handling for JWK import.
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: DataError: No key data was provided 6 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No functio n was found that matched the signature provided.
7 error is: DataError: JWK input could not be parsed to a JSON dictionary 7 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No functio n was found that matched the signature provided.
8 error is: DataError: JWK input could not be parsed to a JSON dictionary
9 error is: DataError: JWK input could not be parsed to a JSON dictionary
10 error is: DataError: The required JWK property "kty" was missing 8 error is: DataError: The required JWK property "kty" was missing
11 error is: DataError: The JWK "kty" property was unrecognized 9 error is: DataError: The JWK "kty" property was unrecognized
12 error is: DataError: The JWK "alg" property was not recognized 10 error is: DataError: The JWK "alg" property was not recognized
13 error is: DataError: The JWK "alg" property was inconsistent with that specified by the Web Crypto call 11 error is: DataError: The JWK "alg" property was inconsistent with that specified by the Web Crypto call
14 error is: DataError: The JWK "alg" property was inconsistent with that specified by the Web Crypto call 12 error is: DataError: The JWK "alg" property was inconsistent with that specified by the Web Crypto call
15 error is: DataError: The required JWK property "k" was missing 13 error is: DataError: The required JWK property "k" was missing
16 error is: DataError: The required JWK property "k" was missing 14 error is: DataError: The required JWK property "k" was missing
17 error is: DataError: The JWK "k" property did not include the right length of ke y data for the given algorithm. 15 error is: DataError: The JWK "k" property did not include the right length of ke y data for the given algorithm.
18 error is: DataError: The JWK "k" property did not include the right length of ke y data for the given algorithm. 16 error is: DataError: The JWK "k" property did not include the right length of ke y data for the given algorithm.
19 error is: DataError: The JWK property "kty" must be a string 17 error is: DataError: The JWK "kty" property was unrecognized
20 error is: DataError: The JWK property "alg" must be a string 18 error is: DataError: The JWK "alg" property was not recognized
21 error is: DataError: The JWK property "use" must be a string 19 error is: DataError: The JWK "use" property could not be parsed
22 error is: DataError: The JWK property "ext" must be a boolean 20 Boolean JWK property passed as a string and worked
23 error is: DataError: The JWK property "k" must be a string 21 String JWK property passed as a number and worked
24 PASS successfullyParsed is true 22 PASS successfullyParsed is true
25 23
26 TEST COMPLETE 24 TEST COMPLETE
27 25
OLDNEW
« no previous file with comments | « LayoutTests/crypto/import-jwk.html ('k') | LayoutTests/crypto/importKey-badParameters-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698