Re: Object.observe()able properties on the web platform

On Wed, Aug 20, 2014 at 8:44 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Wed, Aug 20, 2014 at 5:35 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> Is this necessary?  What prevents us from simply defining that DOM
>> objects have all properties observable, even the getter-like ones?
>
> Would be bad for properties such as innerHTML.

Bah, you're right, okay.

Well, still, reversing the question - are enough properties observable
that it would be better to have an [Unobservable] extended attribute
for them, and assume that anything else is observable?  Would really
cut down on the IDL spam.

~TJ

Received on Wednesday, 20 August 2014 15:50:06 UTC