| 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 </head> | 7 </head> |
| 7 <body> | 8 <body> |
| 8 <p id="description"></p> | 9 <p id="description"></p> |
| 9 <div id="console"></div> | 10 <div id="console"></div> |
| 10 | 11 |
| 11 <script> | 12 <script> |
| 12 description("Tests cypto.subtle.sign and crypto.subtle.verify"); | 13 description("Tests cypto.subtle.sign and crypto.subtle.verify"); |
| 13 | 14 |
| 14 jsTestIsAsync = true; | 15 jsTestIsAsync = true; |
| 15 | 16 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 144 |
| 144 // ------------------------------------------------- | 145 // ------------------------------------------------- |
| 145 // Wait until all the tests have been run. | 146 // Wait until all the tests have been run. |
| 146 // ------------------------------------------------- | 147 // ------------------------------------------------- |
| 147 | 148 |
| 148 Promise.all(allTests).then(finishJSTest, failAndFinishJSTest); | 149 Promise.all(allTests).then(finishJSTest, failAndFinishJSTest); |
| 149 | 150 |
| 150 </script> | 151 </script> |
| 151 | 152 |
| 152 </body> | 153 </body> |
| OLD | NEW |