direct_proxies "problem"

Andreas Rossberg rossberg at
Thu Jan 17 05:47:47 PST 2013

On 8 January 2013 22:33, Tab Atkins Jr. <jackalmage at> wrote:
> On Tue, Jan 8, 2013 at 1:30 PM, Andrea Giammarchi
> <andrea.giammarchi at> 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.


More information about the es-discuss mailing list