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 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <p id="description"></p> | 8 <p id="description"></p> |
9 <div id="console"></div> | 9 <div id="console"></div> |
10 | 10 |
11 <script> | 11 <script> |
12 description("Test what happens when trying to encrypt a too large plain text wit
h RSA-OAEP."); | 12 description("Test what happens when trying to encrypt a too large plain text wit
h RSA-OAEP."); |
13 | 13 |
14 jsTestIsAsync = true; | 14 jsTestIsAsync = true; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 }, failAndFinishJSTest).then(function(result) { | 52 }, failAndFinishJSTest).then(function(result) { |
53 testFailed("Succeeded"); | 53 testFailed("Succeeded"); |
54 }, function(result) { | 54 }, function(result) { |
55 logError(result); | 55 logError(result); |
56 testPassed("Rejected"); | 56 testPassed("Rejected"); |
57 }).then(finishJSTest, failAndFinishJSTest); | 57 }).then(finishJSTest, failAndFinishJSTest); |
58 </script> | 58 </script> |
59 | 59 |
60 </body> | 60 </body> |
61 </html> | 61 </html> |
OLD | NEW |