[Bug 25830] [Custom]: What should be the name of the generated constructor returned by registerElement?

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

Dominic Cooney <dominicc@chromium.org> changed:

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

--- Comment #11 from Dominic Cooney <dominicc@chromium.org> ---
Blink implementor feedback:

Blink names the function after the Custom Element name. My thinking was it is
helpful for the developer to have a hint about what the function relates to
when playing with it interactively. It is not a valid JavaScript identifier,
although for that matter [native code] is not a valid function body; I'm not
sure what spec requires these names to be valid.

>From this bug and feedback from our test suite submission authors apparently
people expect the spec to have a requirement for this.

I think it will not be a problem for Blink to implement a different name.

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

Received on Thursday, 22 May 2014 02:04:26 UTC