blob: 2a0a10c533670487e2b97406090dbe3dc4f60e96 [file] [log] [blame]
jiewen_tan@apple.comd3f5b432016-11-15 19:08:25 +00001Test exporting an AES key with malformed parameters
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
cdumez@apple.com73c7cf92017-07-19 20:24:15 +00006PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
7PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
8PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
9PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
10PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
11PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
12PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
13PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
jiewen_tan@apple.comd3f5b432016-11-15 19:08:25 +000014PASS successfullyParsed is true
15
16TEST COMPLETE
17