| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |