On Wed, Sep 21, 2011 at 3:33 PM, David Flanagan <dflanagan@mozilla.com>wrote:
>
> My goal is to implement as much of DOM Core and HTML as I can in pure
> JavaScript where I have Proxy and WeakMap, but do not control the global
> object. [...] In this thread, my concern is that WebIDL requires interface
> object properties to have a [[Writable]] attribute and therefore (and
> possibly unintentionally) rules out implementations that use accessor
> properties. [...]
Hi David, I don't understand why this is difficult to do using proxies. This
seems like exactly the kind of allowed host-object-weirdness that proxies
were designed to emulate. What am I missing?
--
Cheers,
--MarkM