| 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 unwrapping an RSA key with AES-CBC."); | 12 description("Test unwrapping an RSA key with AES-CBC."); |
| 13 | 13 |
| 14 jsTestIsAsync = true; | 14 jsTestIsAsync = true; |
| 15 | 15 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 29 return crypto.subtle.unwrapKey("jwk", wrappedKey, unwrappingKey, unwrapAlgor
ithm, importAlgorithm, extractable, ["sign"]); | 29 return crypto.subtle.unwrapKey("jwk", wrappedKey, unwrappingKey, unwrapAlgor
ithm, importAlgorithm, extractable, ["sign"]); |
| 30 }).then(undefined, function(result) { | 30 }).then(undefined, function(result) { |
| 31 logError(result); | 31 logError(result); |
| 32 finishJSTest(); | 32 finishJSTest(); |
| 33 }).then(finishJSTest, failAndFinishJSTest); | 33 }).then(finishJSTest, failAndFinishJSTest); |
| 34 | 34 |
| 35 </script> | 35 </script> |
| 36 | 36 |
| 37 </body> | 37 </body> |
| 38 </html> | 38 </html> |
| OLD | NEW |