[Bug 24018] [Custom]: No way to pass parameters to constructor

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

Dominic Cooney <dominicc@chromium.org> changed:

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

--- Comment #1 from Dominic Cooney <dominicc@chromium.org> ---
I think this should be addressed in Level 2 of the Custom Elements spec, or in
a related spec. Chrome is not in a position to implement this now.

Does ES6 make it possible to detect whether a function is a "class" or has a
constructor?

I believe this is a simple matter of specifying that, for such functions, the
generated constructor passes arguments to the argument's constructor.

It would be useful for someone with deep familiarity with ES6 to explain in
what other ways the generated constructor should be configured.

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

Received on Sunday, 8 December 2013 00:22:00 UTC