Re: [webrtc-tests] Add centralized IDL test for WebRTC (#5712)

> Do you mean https://w3c.github.io/webrtc-pc/#peer-to-peer-connections? AFAICT all the IDL from the spec has been copied.

All the IDL definitions have been copied from the spec. However only objects of IDLs in https://w3c.github.io/webrtc-pc/#peer-to-peer-connections are constructed for testing.

> Can you file an issue on idlharness.js? Any manual changes that need to be made will get in the way of eventually auto-updating these IDL files with a script.

I have filed #5714 for the bug.

> Do you need to do some kind of cleanup, or what is the X?

The call to `idlArray.add_objects()` are asynchronous inside nested promise_test. The final `idlArray.test()` tests all added objects in one go, and should be called only when the sub promise_tests are done. (Is nested testing allowed with testharness?)

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

Received on Thursday, 27 April 2017 07:58:42 UTC