[webidl] Spec for callback interface interface objects is self-contradictory in places

Section 4.3.8 says:

   The [NoInterfaceObject] extended attribute MUST NOT be specified on a
   callback interface, as interface objects never exist for callback
   interfaces.

but section 4.4 says:

    For every interface that...
     is a callback interface that has constants declared on it, or...
    a corresponding property MUST exist on the ECMAScript global object.
    The name of the property is the identifier of the interface, and its
    value is an object called the interface object.

I believe 4.3.8 is wrong here.

And then 4.4.1 defines interface objects for callback interfaces as not 
being function objects, but later on requires a "length" property on all 
interface objects.  That looks wrong to me; the "length" thing should 
only happen for non-callback interface objects.

-Boris

Received on Wednesday, 5 December 2012 06:14:38 UTC