W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2011

Re: Lazy interface objects?

From: Mark S. Miller <erights@google.com>
Date: Wed, 21 Sep 2011 18:15:02 -0700
Message-ID: <CABHxS9jQp3jnErweH-wwxZWtTx+ihQKRR9NcxEROZHbOacQQTg@mail.gmail.com>
To: David Flanagan <dflanagan@mozilla.com>
Cc: Jonas Sicking <jonas@sicking.cc>, Boris Zbarsky <bzbarsky@mit.edu>, public-script-coord@w3.org
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
Received on Thursday, 22 September 2011 01:15:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:04 UTC