| OLD | NEW |
| 1 CONSOLE ERROR: Invalid key argument |
| 2 CONSOLE ERROR: Invalid key argument |
| 1 CONSOLE ERROR: Invalid keyFormat argument | 3 CONSOLE ERROR: Invalid keyFormat argument |
| 2 CONSOLE ERROR: Invalid keyFormat argument | 4 CONSOLE ERROR: Invalid keyFormat argument |
| 3 CONSOLE ERROR: Invalid keyFormat argument | 5 CONSOLE ERROR: Invalid keyFormat argument |
| 4 Tests exportKey() given bad inputs. | 6 Tests exportKey() given bad inputs. |
| 5 | 7 |
| 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 7 | 9 |
| 8 | 10 |
| 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', 3) threw exception TypeError: Failed to exec
ute 'exportKey' on 'SubtleCrypto': Invalid key argument. | |
| 11 PASS error is null | 11 PASS error is null |
| 12 PASS error is null | 12 PASS error is null |
| 13 PASS error is null | 13 PASS error is null |
| 14 PASS error is null |
| 15 PASS error is null |
| 14 PASS successfullyParsed is true | 16 PASS successfullyParsed is true |
| 15 | 17 |
| 16 TEST COMPLETE | 18 TEST COMPLETE |
| 17 | 19 |
| OLD | NEW |