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

Side by Side Diff: LayoutTests/crypto/subtle/rsassa-pkcs1-v1_5/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/rsa-cloneKey.js"></script>
7 <script src="../resources/keys.js"></script>
8 </head>
9 <body>
10 <script>
11 description('Tests structured cloning of RSASSA-PKCS1-v1_5 keys');
12
13 jsTestIsAsync = true;
14
15 function testClonePublicKeys()
16 {
17 return testCloneRSAPublicKeys('RSASSA-PKCS1-v1_5', [[], ['verify']], [kKeyDa ta.rsa2, kKeyData.rsa3]);
18 }
19
20 function testClonePrivateKeys()
21 {
22 return testCloneRSAPrivateKeys('RSASSA-PKCS1-v1_5', [['sign']], [kKeyData.rs a1, kKeyData.rsa4]);
23 }
24
25 testClonePublicKeys().then(testClonePrivateKeys).then(finishJSTest, failAndFinis hJSTest)
26 </script>
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698