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 that importing keys with invalid usages should fail with Synt
axError."); | 13 description("Tests that importing keys with invalid usages should fail with Synt
axError."); |
14 | 14 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 logError(result); | 66 logError(result); |
67 | 67 |
68 return importJwkPrivateKeyForEncryption(); | 68 return importJwkPrivateKeyForEncryption(); |
69 }).then(failAndFinishJSTest, function(result) { | 69 }).then(failAndFinishJSTest, function(result) { |
70 logError(result); | 70 logError(result); |
71 }).then(finishJSTest, failAndFinishJSTest); | 71 }).then(finishJSTest, failAndFinishJSTest); |
72 </script> | 72 </script> |
73 | 73 |
74 </body> | 74 </body> |
75 </html> | 75 </html> |
OLD | NEW |