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

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

Issue 19885002: WebCrypto: Add interfaces for importKey(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and rename Interface --> Private Created 7 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/importKey.html ('k') | Source/core/core.gypi » ('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 Tests cypto.subtle.importKey.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS key.type is 'private'
7 PASS key.extractable is true
8 PASS key.algorithm.name is 'SHA-256'
9 PASS key.usages.join(',') is 'encrypt,sign'
10 PASS key.type is 'private'
11 PASS key.extractable is true
12 PASS key.algorithm.name is 'SHA-256'
13 PASS key.usages.join(',') is ''
14 PASS key.type is 'private'
15 PASS key.extractable is false
16 PASS key.algorithm.name is 'SHA-256'
17 PASS key.usages.join(',') is ''
18 PASS key.type is 'public'
19 PASS key.extractable is false
20 PASS key.algorithm.name is 'SHA-256'
21 PASS key.usages.join(',') is ''
22 PASS key.type is 'public'
23 PASS key.extractable is false
24 PASS key.algorithm.name is 'SHA-256'
25 PASS key.usages.join(',') is ''
26 rejected with null
27 PASS crypto.subtle.importKey(keyFormat, data, algorithm, extractable, keyUsages) threw exception NotSupportedError: The implementation did not support the reque sted type of object or operation..
28 PASS crypto.subtle.importKey('invalid format', data, algorithm, extractable, key Usages) threw exception TypeError: Type error.
29 PASS crypto.subtle.importKey(keyFormat, data, algorithm, extractable, ['SIGN']) threw exception TypeError: Type error.
30 PASS successfullyParsed is true
31
32 TEST COMPLETE
33
OLDNEW
« no previous file with comments | « LayoutTests/crypto/importKey.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698