blob: 2a0a10c533670487e2b97406090dbe3dc4f60e96 [file] [log] [blame]
Test exporting an AES key with malformed parameters
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
PASS crypto.subtle.exportKey("spki", key) rejected promise with NotSupportedError: The algorithm is not supported.
PASS crypto.subtle.exportKey("pkcs8", key) rejected promise with NotSupportedError: The algorithm is not supported.
PASS successfullyParsed is true
TEST COMPLETE