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

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

Issue 806913006: [WebCrypto] Move LayoutTests from crypto to crypto/subtle (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update path for deserialize legacy tests Created 6 years 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
« no previous file with comments | « LayoutTests/crypto/import-jwk.html ('k') | LayoutTests/crypto/importKey-badParameters.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: The required JWK member "kty" was missing
7 error is: DataError: The required JWK member "kty" was missing
8 error is: DataError: The required JWK member "kty" was missing
9 error is: DataError: The JWK "kty" member was not "oct"
10 error is: DataError: The JWK "alg" member was inconsistent with that specified b y the Web Crypto call
11 error is: DataError: The JWK "alg" member was inconsistent with that specified b y the Web Crypto call
12 error is: DataError: The JWK "alg" member was inconsistent with that specified b y the Web Crypto call
13 error is: DataError: The required JWK member "k" was missing
14 error is: DataError: The required JWK member "k" was missing
15 error is: DataError: The JWK "k" member did not include the right length of key data for the given algorithm.
16 error is: DataError: The JWK "k" member did not include the right length of key data for the given algorithm.
17
18 importKey() with 'k' member containing '+' and '/' characters...
19 error is: DataError: The JWK member "k" could not be base64url decoded or contai ned padding
20 error is: DataError: The JWK "kty" member was not "oct"
21 error is: DataError: The JWK "alg" member was inconsistent with that specified b y the Web Crypto call
22 error is: DataError: The JWK "use" member could not be parsed
23 Boolean JWK property passed as a string and worked
24 String JWK property passed as a number and worked
25 PASS successfullyParsed is true
26
27 TEST COMPLETE
28
OLDNEW
« no previous file with comments | « LayoutTests/crypto/import-jwk.html ('k') | LayoutTests/crypto/importKey-badParameters.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698