| 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 bad algorithm inputs for RSA-OAEP encrypt"); | 13 description("Tests bad algorithm inputs for RSA-OAEP encrypt"); |
| 14 | 14 |
| 15 jsTestIsAsync = true; | 15 jsTestIsAsync = true; |
| 16 | 16 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 44 | 44 |
| 45 return crypto.subtle.encrypt({name: "rsa-oaep", label: "foo"}, publicKey, da
ta); | 45 return crypto.subtle.encrypt({name: "rsa-oaep", label: "foo"}, publicKey, da
ta); |
| 46 }).then(failAndFinishJSTest, function(result) { | 46 }).then(failAndFinishJSTest, function(result) { |
| 47 logError(result); | 47 logError(result); |
| 48 }).then(finishJSTest, failAndFinishJSTest); | 48 }).then(finishJSTest, failAndFinishJSTest); |
| 49 | 49 |
| 50 </script> | 50 </script> |
| 51 | 51 |
| 52 </body> | 52 </body> |
| 53 </html> | 53 </html> |
| OLD | NEW |