Pull request for IDL testing

I have a pull request on the testing github site (https://github.com/w3c/web-platform-tests/pull/3025) that runs a standard set of testing on the IDL.  It is currently under review and I would encourage people to take a look at it.  I expect to merge it towards the end of the week.

The tests are automatically created from the IDL rather than hand generated.  In picking up the IDL from the document I needed to comment the pair of lines below as the Window and WorkerGlobalScope interfaces are not defined in our IDL.

//Window implements GlobalCrypto;
//WorkerGlobalScope implements GlobalCrypto;

Current testing runs have the following results:

Chrome Canary has 15 fail cases.  These are:
class string of Crypto.prototype expected "[object CryptoPrototype]" but got "[object Crypto]"
class string of CryptoKey.prototype expected "[object CryptoKeyPrototype]" but got "[object CryptoKey]"
class string of SubtleCrypto.prototype expected "[object SubtleCryptoPrototype]" but got "[object SubtleCrypto]"
and
Throws "TypeError: Illegal invocation" instead of rejecting promise for every function on the SubtleCrypto interface.

The same failures occur both with Window and with Workers

Mozilla stable passes all tests cleanly when dealing with the window interface and fails all tests for the worker side with the error 
assert_own_property: self does not have own property "Crypto" expected property "Crypto" missing

I currently do not have a copy of edge running on my test machine so I have not looked at that.

No errors have been reported to the respective databases.

Jim

Received on Tuesday, 17 May 2016 18:21:19 UTC