Re: [webidl] Check if NodeFilter.length is defined correctly. (#83)

The spec seems to only define a "length" property for non-callback interfaces, implying that there is no such property on the `NodeFilter` object.  So doing `NodeFilter.length` will return `Function.prototype.length`, which is 0.

That said, `NodeFilter.hasOwnProperty("length")` actually returns true in both Gecko and Blink.

---
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/83#issuecomment-169049102

Received on Tuesday, 5 January 2016 16:21:26 UTC