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

Side by Side Diff: third_party/WebKit/LayoutTests/crypto/subtle/hkdf/importKey-failures-expected.txt

Issue 2167883003: [webcrypto] Align importKey()'s comments to reference the latest spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ad another comment Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/crypto/subtle/importKey-badParameters-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test inputs to HKDF importKey() 1 Test inputs to HKDF importKey()
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 6
7 importKey() with 'encrypt' usage... 7 importKey() with 'encrypt' usage...
8 error is: SyntaxError: Cannot create a key using the specified key usages. 8 error is: SyntaxError: Cannot create a key using the specified key usages.
9 9
10 importKey() with null key data... 10 importKey() with null key data...
11 error is: TypeError: Key data must be a buffer for non-JWK formats 11 error is: TypeError: Key data must be a BufferSource for non-JWK formats
12 12
13 importKey() with jwk format... 13 importKey() with jwk format...
14 error is: NotSupportedError: Unsupported import key format for algorithm 14 error is: NotSupportedError: Unsupported import key format for algorithm
15 15
16 importKey() with spki format... 16 importKey() with spki format...
17 error is: NotSupportedError: Unsupported import key format for algorithm 17 error is: NotSupportedError: Unsupported import key format for algorithm
18 18
19 importKey() with empty usages... 19 importKey() with empty usages...
20 error is: SyntaxError: Usages cannot be empty when creating a key. 20 error is: SyntaxError: Usages cannot be empty when creating a key.
21 PASS successfullyParsed is true 21 PASS successfullyParsed is true
22 22
23 TEST COMPLETE 23 TEST COMPLETE
24 24
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/crypto/subtle/importKey-badParameters-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698