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

Side by Side Diff: LayoutTests/crypto/clone-rsaKey-public.html

Issue 210693002: [webcrypto] Add structured clone tests for RSA private keys. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <script src="resources/common.js"></script> 5 <script src="resources/common.js"></script>
6 <script src="resources/keys.js"></script> 6 <script src="resources/keys.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <p id="description"></p> 9 <p id="description"></p>
10 <div id="console"></div> 10 <div id="console"></div>
11 11
12 <script> 12 <script>
13 description("Tests structured cloning of RSA keys (without a hash)"); 13 description("Tests structured cloning of RSA public keys (without a hash)");
14 14
15 jsTestIsAsync = true; 15 jsTestIsAsync = true;
16 16
17 // Tests the 16 permutations of keys generated by: 17 // Tests the 16 permutations of keys generated by:
18 // kPossibleAlgorithms x kPossibleExtractable x kPossibleKeyUsages x kPossible KeyData 18 // kPossibleAlgorithms x kPossibleExtractable x kPossibleKeyUsages x kPossible KeyData
19 // 19 //
20 // For practical reasons these tests are not exhaustive. 20 // For practical reasons these tests are not exhaustive.
21 21
22 var kPossibleAlgorithms = ['RSAES-PKCS1-v1_5']; 22 var kPossibleAlgorithms = ['RSAES-PKCS1-v1_5'];
23 var kPossibleExtractable = [true, false]; 23 var kPossibleExtractable = [true, false];
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 }); 88 });
89 }); 89 });
90 }); 90 });
91 91
92 lastPromise.then(finishJSTest, failAndFinishJSTest); 92 lastPromise.then(finishJSTest, failAndFinishJSTest);
93 93
94 </script> 94 </script>
95 95
96 </body> 96 </body>
97 </html> 97 </html>
OLDNEW
« no previous file with comments | « LayoutTests/crypto/clone-rsaKey-private-expected.txt ('k') | LayoutTests/crypto/clone-rsaKey-public-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698