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 an RSA key."); | 12 description("Test exporting an RSA key."); |
13 | 13 |
14 jsTestIsAsync = true; | 14 jsTestIsAsync = true; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 shouldBe("exportedJWK.e", "publicKeyJSON.e"); | 53 shouldBe("exportedJWK.e", "publicKeyJSON.e"); |
54 shouldBe("exportedJWK.alg", "'RS256'"); | 54 shouldBe("exportedJWK.alg", "'RS256'"); |
55 shouldBe("exportedJWK.ext", "true"); | 55 shouldBe("exportedJWK.ext", "true"); |
56 shouldBe("exportedJWK.use", "undefined"); | 56 shouldBe("exportedJWK.use", "undefined"); |
57 shouldBe("exportedJWK.key_ops", "['verify']"); | 57 shouldBe("exportedJWK.key_ops", "['verify']"); |
58 }).then(finishJSTest, failAndFinishJSTest); | 58 }).then(finishJSTest, failAndFinishJSTest); |
59 </script> | 59 </script> |
60 | 60 |
61 </body> | 61 </body> |
62 </html> | 62 </html> |
OLD | NEW |