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

Side by Side Diff: LayoutTests/crypto/import-jwk-expected.txt

Issue 298023002: [webcrypto] Import WebKit's webcrypto tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove FIXME for unrecognized jwk usages (supported now) 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
« no previous file with comments | « LayoutTests/crypto/import-jwk.html ('k') | LayoutTests/crypto/jwk-export-use-values.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Test error handling for JWK import.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 error is: DataError: No key data was provided
7 error is: DataError: JWK input could not be parsed to a JSON dictionary
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
11 error is: DataError: The JWK "kty" property was unrecognized
12 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
14 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
16 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.
18 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
20 error is: DataError: The JWK property "alg" must be a string
21 error is: DataError: The JWK property "use" must be a string
22 error is: DataError: The JWK property "ext" must be a boolean
23 error is: DataError: The JWK property "k" must be a string
24 PASS successfullyParsed is true
25
26 TEST COMPLETE
27
OLDNEW
« no previous file with comments | « LayoutTests/crypto/import-jwk.html ('k') | LayoutTests/crypto/jwk-export-use-values.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698