| Tests generateKey() with bad AES-KW parameters. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| generateKey() without length... |
| SUCCESS (rejected): TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': AesKeyGenParams: length: Missing required property |
| |
| generateKey() with a length of 70000... |
| SUCCESS (rejected): TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': AesKeyGenParams: length: Outside of numeric range |
| |
| generateKey() with a length of -3... |
| SUCCESS (rejected): TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': AesKeyGenParams: length: Outside of numeric range |
| |
| generateKey() with length that is minus Infinity... |
| SUCCESS (rejected): TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': AesKeyGenParams: length: Outside of numeric range |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |