[Bug 20485] [Custom]: Creation of custom elements via constructor function is underdefined

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

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |annevk@annevk.nl,
                   |                            |cam@mcc.id.au

--- Comment #5 from Boris Zbarsky <bzbarsky@mit.edu> ---
The DOM thing is just a bug in the DOM spec, imo.  When you create an object,
you need to say what sort of object it is and in particular what its primary
interface is.  See http://dev.w3.org/2006/webapi/WebIDL/#dfn-primary-interface

As for WebIDL... The prototype object does not in fact define the interface,
really.  Again, an interface is a syntactic concept.  Then in the ES binding an
interface may have a corresponding interface object, a corresponding interface
prototype object, or both.  The syntactic construct that is the interface then
leads to certain properties on those ES objects (e.g. the constants and static
attributes/operations go on the interface object, while the non-static
operations and attributes go on the interface prototype object).

And yes, you're a pioneer.  We all are to this business of actually speccing
the interaction of the DOM and ES, really.  ;)

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

Received on Saturday, 19 January 2013 02:08:32 UTC