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

There was an interesting question about feature detection that was raised the other day: how to detect a change from "no [Constructor]" to "no-arg [Constructor]".  Right now, I think "call the constructor and see if it throws" is the only way in Firefox and Chrome.  The Proxy thing above could be used if we changed whether [[Construct]] happens...

But maybe this is enough of an edge case that it's not an issue.

@rniwa would Safari be open to changing its behavior here, or do you know whom I should be asking about it?

-- 
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-479570208

Received on Wednesday, 3 April 2019 16:49:45 UTC