14 lines
304 B
Plaintext
14 lines
304 B
Plaintext
|
Test that CryptoKey.usages preserves custom properties.
|
||
|
|
||
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
||
|
|
||
|
|
||
|
|
||
|
Generating a HMAC key with default length...
|
||
|
PASS key.usages === key.usages is true
|
||
|
PASS key.usages.foo is "bar"
|
||
|
PASS successfullyParsed is true
|
||
|
|
||
|
TEST COMPLETE
|
||
|
|