| OLD | NEW |
| 1 CONSOLE ERROR: key is not extractable |
| 1 Tests cypto.subtle.exportKey. | 2 Tests cypto.subtle.exportKey. |
| 2 | 3 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 5 |
| 5 | 6 |
| 6 PASS crypto.subtle.exportKey(3, keys.aesCbcJustDecrypt) threw exception TypeErro
r: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat argument. | 7 PASS crypto.subtle.exportKey(3, keys.aesCbcJustDecrypt) threw exception TypeErro
r: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat argument. |
| 7 PASS crypto.subtle.exportKey(null, keys.aesCbcJustDecrypt) threw exception TypeE
rror: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat argumen
t. | 8 PASS crypto.subtle.exportKey(null, keys.aesCbcJustDecrypt) threw exception TypeE
rror: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat argumen
t. |
| 8 PASS crypto.subtle.exportKey('invalid', keys.aesCbcJustDecrypt) threw exception
TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat ar
gument. | 9 PASS crypto.subtle.exportKey('invalid', keys.aesCbcJustDecrypt) threw exception
TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat ar
gument. |
| 9 PASS crypto.subtle.exportKey('raw', null) threw exception TypeError: Failed to e
xecute 'exportKey' on 'SubtleCrypto': Invalid key argument. | 10 PASS crypto.subtle.exportKey('raw', null) threw exception TypeError: Failed to e
xecute 'exportKey' on 'SubtleCrypto': Invalid key argument. |
| 10 PASS crypto.subtle.exportKey('raw', 3) threw exception TypeError: Failed to exec
ute 'exportKey' on 'SubtleCrypto': Invalid key argument. | 11 PASS crypto.subtle.exportKey('raw', 3) threw exception TypeError: Failed to exec
ute 'exportKey' on 'SubtleCrypto': Invalid key argument. |
| 11 PASS keys.aesCbcJustDecrypt.extractable is false | 12 PASS keys.aesCbcJustDecrypt.extractable is false |
| 12 PASS crypto.subtle.exportKey('raw', keys.aesCbcJustDecrypt) threw exception NotS
upportedError: Failed to execute 'exportKey' on 'SubtleCrypto': key is not extra
ctable. | 13 PASS: 'crypto.subtle.exportKey('raw', keys.aesCbcJustDecrypt)' rejected with nul
l |
| 13 PASS successfullyParsed is true | 14 PASS successfullyParsed is true |
| 14 | 15 |
| 15 TEST COMPLETE | 16 TEST COMPLETE |
| 16 | 17 |
| OLD | NEW |