OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.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 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 // Missing hash parameter for HMAC. | 112 // Missing hash parameter for HMAC. |
113 shouldThrow("crypto.subtle.importKey(keyFormat, data, {name: 'hmac'}, extrac
table, keyUsages)"); | 113 shouldThrow("crypto.subtle.importKey(keyFormat, data, {name: 'hmac'}, extrac
table, keyUsages)"); |
114 | 114 |
115 // SHA-1 doesn't support the importKey operation. | 115 // SHA-1 doesn't support the importKey operation. |
116 shouldThrow("crypto.subtle.importKey(keyFormat, data, {name: 'sha-1'}, extra
ctable, keyUsages)"); | 116 shouldThrow("crypto.subtle.importKey(keyFormat, data, {name: 'sha-1'}, extra
ctable, keyUsages)"); |
117 }).then(finishJSTest, failAndFinishJSTest); | 117 }).then(finishJSTest, failAndFinishJSTest); |
118 | 118 |
119 </script> | 119 </script> |
120 | 120 |
121 <script src="../fast/js/resources/js-test-post.js"></script> | |
122 </body> | 121 </body> |
123 </html> | 122 </html> |
OLD | NEW |