[Bug 22920] [Custom]: Custom element constructors should have class side inheritance

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22920

Dominic Cooney <dominicc@chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dominicc@chromium.org

--- Comment #2 from Dominic Cooney <dominicc@chromium.org> ---
FWIW, this is experimentally implemented in Blink.

The way the constructor is discovered is simply dereferencing the 'constructor'
property on the provided prototype. Prototype lookup does the rest.

This happens right after the prototype is retrieved from the options object.

The retrieved value isn't scrutinized.

If retrieving the constructor destroys the world, we throw an invalid context
exception later (similar to the what happens if retrieving the prototype from
the options destroys the world.)

Of course, I'm open to changing any and all of these details. This is just the
first cut to get feedback from developers.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 27 August 2013 02:55:14 UTC