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 an unextractable key cannot be exported."); | 13 description("Tests that an unextractable key cannot be exported."); |
14 | 14 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 }).then(function(key) { | 61 }).then(function(key) { |
62 return crypto.subtle.exportKey('pkcs8', key); | 62 return crypto.subtle.exportKey('pkcs8', key); |
63 }).then(failAndFinishJSTest, function(result) { | 63 }).then(failAndFinishJSTest, function(result) { |
64 logError(result); | 64 logError(result); |
65 }).then(finishJSTest, failAndFinishJSTest); | 65 }).then(finishJSTest, failAndFinishJSTest); |
66 | 66 |
67 </script> | 67 </script> |
68 | 68 |
69 </body> | 69 </body> |
70 </html> | 70 </html> |
OLD | NEW |