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 exporting a public EC key."); | 12 description("Test exporting a public EC key."); |
13 | 13 |
14 jsTestIsAsync = true; | 14 jsTestIsAsync = true; |
(...skipping 25 matching lines...) Expand all Loading... |
40 }).then(function(result) { | 40 }).then(function(result) { |
41 exportedSpki = result; | 41 exportedSpki = result; |
42 | 42 |
43 bytesShouldMatchHexString("exportedSpki", publicKeySpkiHex, exportedSpki); | 43 bytesShouldMatchHexString("exportedSpki", publicKeySpkiHex, exportedSpki); |
44 }).then(finishJSTest, failAndFinishJSTest); | 44 }).then(finishJSTest, failAndFinishJSTest); |
45 | 45 |
46 </script> | 46 </script> |
47 | 47 |
48 </body> | 48 </body> |
49 </html> | 49 </html> |
OLD | NEW |