This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In V8, Opera and Gecko's new bindings, they have a 'length' property set to 0. In IE and old Gecko, they don't have one.
Safari 5.1.7 also does not have one.
Per spec, interface objects are always functions, functions in ES5 have a length. WebIDL's only business here is defining what that length should be. It does so for cases when there is a [Constructor]; presumably this bug is about the cases when there isn't one?
Right, and it should be 0 in that case. http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.559;r2=1.560;f=h
(In reply to comment #2) > Per spec, interface objects are always functions, functions in ES5 have a > length. WebIDL's only business here is defining what that length should be. > It does so for cases when there is a [Constructor]; presumably this bug is > about the cases when there isn't one? And the fact that I was confused by the phrasing. (In reply to comment #3) > Right, and it should be 0 in that case. > > http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.559;r2=1.560;f=h Thanks.