blob: a81106f0884c334a53e19fbdac9b6e01afed00a4 [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 successfullyParsed is true
TEST COMPLETE