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

Regarding issue 4 above, My assumption is that the clone needs to take place before the function call returns.  That is it does not occur at some later time when the promise is being created, instead it is part of the IDL.  This means there is no timing issue involved.  But there does need to be a check that the cloning is occurring and at the correct point in time.

The call to done needs to be made when all of the tests have been started not when they have been completed. This is done implicitly when the load event of an html document is finished (unless it is marked as needing to be done explicitly).  Look at http://testthewebforward.org/docs/testharness-library.html under "determining when all tests are complete"  This means that one can do a pass of all setup work, then create all of the tests after the promises of the first pass run, and finally execute the done function.

I do not believe that you are using the step_timeout function the way it was intended.

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

Received on Monday, 6 June 2016 19:56:48 UTC