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("Tests that wrapping keys must have the 'wrapKey' usage."); | 12 description("Tests that wrapping keys must have the 'wrapKey' usage."); |
13 | 13 |
14 jsTestIsAsync = true; | 14 jsTestIsAsync = true; |
(...skipping 25 matching lines...) Expand all Loading... |
40 | 40 |
41 return crypto.subtle.wrapKey('raw', key, wrappingKey, wrapAlgorithm); | 41 return crypto.subtle.wrapKey('raw', key, wrappingKey, wrapAlgorithm); |
42 }).then(failAndFinishJSTest, function(result) { | 42 }).then(failAndFinishJSTest, function(result) { |
43 logError(result); | 43 logError(result); |
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 |