Re: [heycam/webidl] Define that interface objects are constructors (#698)

> unless otherwise specified in the description of a particular function

This is the key, no?  https://heycam.github.io/webidl/#Constructor specifies otherwise:

> If the [Constructor] extended attribute appears on an interface, it indicates that the interface object for this interface will have an [[Construct]] internal method

So I think we're good here: thing with a `[Constructor]` have `[[Construct]]` and things without do not, as desired.

-- 
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/698#issuecomment-476688979

Received on Tuesday, 26 March 2019 15:01:17 UTC