Re: document.register and ES6

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 UTC