On 24/09/11 8:35 AM, Allen Wirfs-Brock wrote:
Regarding, WebIDL.  It seems to me, that it just needs an extended attribute to 
specifies which attributes are instance attributes rather than prototype 
attributes.

I think it only makes sense to have IDL attributes correspond to properties on the instance itself if the property can be a data property, and that if it can be modelled with a data property then it needs to have no special behaviour when being assigned to (no type coercions due to IDL, no other behaviour), unless we want to require JS implementations to use proxies for these objects.

I don't think many attributes in Web APIs fall into this category.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to