Re: [matrix][cssom-view] DOMPoint, DOMPointLiteral definitions

On 9/23/13 7:14 PM, Tab Atkins Jr. wrote:
> WebIDL makes it remarkably fiddly to create an interface that should
> be readonly in some circumstances and mutable in others.

That's because those are fundamentally two different "interfaces", when 
you actually think about them.

I mean, say you were implementing this in pure ES.  You'd just return 
two different types of objects for those two cases, probably with 
different prototypes...


Received on Tuesday, 24 September 2013 00:16:45 UTC