Re: [WebCryptoAPI-tests] Webcrypto encrypt and decrypt tests (#3110)

This appears to be a case where we cannot see the trees for the forest.  If you look at the procedure, it checks that the name of the algorithm is correct before doing the usage check.  However since the same error is returned for both of them it would not be possible to determine which condition caused it.  The check could be done with an AES key, I agree that it would be odd for user code to try this, but it would check the error condition.  What do you thinK?


View on GitHub: https://github.com/w3c/web-platform-tests/pull/3110#issuecomment-224779167

Received on Thursday, 9 June 2016 01:33:10 UTC