On 8 January 2013 22:33, Tab Atkins Jr. <jackalm...@gmail.com> wrote:
> On Tue, Jan 8, 2013 at 1:30 PM, Andrea Giammarchi
> <andrea.giammar...@gmail.com> wrote:
>> so you are saying that Object.observe() does not suffer these problems ? Or
>> is just much simpler than Proxies ? ( yeah, I know, I guess both ... )
>
> I believe it just wouldn't suffer the same problems - it needs to
> observe the JS-visible stuff, which DOM objects expose normally, so it
> can just hook those.  Alternately, it can be specialized to handle DOM
> stuff correctly even with their craziness.  I'm not familiar with the
> implementations of it.

Object.observe isn't simpler than proxies, but the complexity is along
somewhat different axes.

In any case, WebIDL actually specs attributes as accessor properties,
which means that Object.observe simply ignores them. So there isn't
much interference between Object.observe and the DOM.

/Andreas
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to