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

Side by Side Diff: LayoutTests/crypto/subtle/ecdsa/cloneKey.html

Issue 958353003: [WebCrypto] Move cloneKey test to respective algorithm directory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <script src="../resources/common.js"></script>
6 <script src="../resources/ec-cloneKey.js"></script>
7 </head>
8 <body>
9 <script>
10 description('Tests structured cloning of ECDSA keys');
11
12 jsTestIsAsync = true;
13
14 function testClonePublicKeys()
15 {
16 return testCloneEcPublicKeys('ECDSA', [[],['verify']]);
17 }
18
19 function testClonePrivateKeys()
20 {
21 return testCloneEcPrivateKeys('ECDSA', [['sign']])
22 }
23
24 testClonePublicKeys().then(testClonePrivateKeys).then(finishJSTest, failAndFinis hJSTest);
25 </script>
26 </body>
27 </html>
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/ecdh/cloneKey-expected.txt ('k') | LayoutTests/crypto/subtle/ecdsa/cloneKey-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698