Re: [webidl] Allow constructor<ClassType> as a type accepted by functions. (#101)

It would mean that we can share a common algorithm for checking the shape of a class constructor, i.e. a constructor version of https://heycam.github.io/webidl/#es-dictionary for example.

At the moment, `registerPaint` has to do all this itself (incorrectly :) ), would be better if this was a concept in IDL.
https://drafts.css-houdini.org/css-paint-api/#dom-paintworkletglobalscope-registerpaint
This isn't super-high priority as we only have a couple of things at the moment.

At the moment we do it with a `Function`, then check the shape of the given class.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/101#issuecomment-200998202

Received on Thursday, 24 March 2016 20:06:10 UTC