[Bug 25830] [Custom]: Constructor function name is illegal by definition.

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

--- Comment #3 from Dimitri Glazkov <dglazkov@chromium.org> ---
(In reply to johnjbarton from comment #2)
> This issue arose when mocking or faking Custom Elements. I needed to create
> a representation for the constructor function returned by
> document.registerElement(). It's not currently possible because
> registerElement() requires a function name identifier that is invalid in
> JavaScript.  That seems unfortunate given the focus on JavaScript for the
> API.

Can you help me understand where in the spec the custom element type and
function name are connected? They should be two separate concepts that are
associated together in a definition via the process of registration.

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

Received on Tuesday, 20 May 2014 17:03:13 UTC