| OLD | NEW |
| 1 Test error handling for JWK import. | 1 Test error handling for JWK import. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No functio
n was found that matched the signature provided. | 6 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No functio
n was found that matched the signature provided. |
| 7 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No functio
n was found that matched the signature provided. | 7 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No functio
n was found that matched the signature provided. |
| 8 error is: DataError: The required JWK property "kty" was missing | 8 error is: DataError: The required JWK property "kty" was missing |
| 9 error is: DataError: The JWK "kty" property was unrecognized | 9 error is: DataError: The JWK "kty" property was not "oct" |
| 10 error is: DataError: The JWK "alg" property was not recognized | 10 error is: DataError: The JWK "alg" property was inconsistent with that specified
by the Web Crypto call |
| 11 error is: DataError: The JWK "alg" property was inconsistent with that specified
by the Web Crypto call | 11 error is: DataError: The JWK "alg" property was inconsistent with that specified
by the Web Crypto call |
| 12 error is: DataError: The JWK "alg" property was inconsistent with that specified
by the Web Crypto call | 12 error is: DataError: The JWK "alg" property was inconsistent with that specified
by the Web Crypto call |
| 13 error is: DataError: The required JWK property "k" was missing | 13 error is: DataError: The required JWK property "k" was missing |
| 14 error is: DataError: The required JWK property "k" was missing | 14 error is: DataError: The required JWK property "k" was missing |
| 15 error is: DataError: The JWK "k" property did not include the right length of ke
y data for the given algorithm. | 15 error is: DataError: The JWK "k" property did not include the right length of ke
y data for the given algorithm. |
| 16 error is: DataError: The JWK "k" property did not include the right length of ke
y data for the given algorithm. | 16 error is: DataError: The JWK "k" property did not include the right length of ke
y data for the given algorithm. |
| 17 error is: DataError: The JWK "kty" property was unrecognized | 17 error is: DataError: The JWK "kty" property was not "oct" |
| 18 error is: DataError: The JWK "alg" property was not recognized | 18 error is: DataError: The JWK "alg" property was inconsistent with that specified
by the Web Crypto call |
| 19 error is: DataError: The JWK "use" property could not be parsed | 19 error is: DataError: The JWK "use" property could not be parsed |
| 20 Boolean JWK property passed as a string and worked | 20 Boolean JWK property passed as a string and worked |
| 21 String JWK property passed as a number and worked | 21 String JWK property passed as a number and worked |
| 22 PASS successfullyParsed is true | 22 PASS successfullyParsed is true |
| 23 | 23 |
| 24 TEST COMPLETE | 24 TEST COMPLETE |
| 25 | 25 |
| OLD | NEW |