W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: document.register and ES6

From: Scott Miles <sjmiles@google.com>
Date: Wed, 6 Feb 2013 13:34:01 -0800
Message-ID: <CAHbmOLZjOZYHZAfS7vEnqujeeYWKYYCAibb_JdZxMQop4WPv7g@mail.gmail.com>
To: Daniel Buchner <daniel@mozilla.com>
Cc: Erik Arvidsson <arv@chromium.org>, Dimitri Glazkov <dglazkov@google.com>, public-webapps <public-webapps@w3.org>, Boris Zbarsky <bzbarsky@mit.edu>
On Wed, Feb 6, 2013 at 1:27 PM, Daniel Buchner <daniel@mozilla.com> wrote:

> So you're directly setting the user-added methods on matched elements in
> browsers that don't support proto, but what about accessors?
>

I believe those can be forwarded too, I just didn't bother in my fiddle.


> Equipped with the unbaked prototype descriptor, in your upgrade phase, you
> should be able to simply bake the node with:
> Object.defineProperties(element, unbakedPrototypeDescriptor) - right?
>

Yes, but I believe developers would freak out if we required them to
provide that type of descriptor (I would).

 <snip>
Received on Wednesday, 6 February 2013 21:34:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:57 GMT