classes and enumerability

Boris Zbarsky bzbarsky at
Thu Jan 29 18:43:45 PST 2015

On 1/29/15 9:41 PM, Yehuda Katz wrote:
> I've personally written a lot of code that enumerates over the
> properties of an element or other DOM object for some reason or other. I
> strongly suspect that making existing WebIDL attributes non-enumerable
> would not be web-compatible (nor, or even in the somewhat distant future).

I agree for elements, and probably all nodes.

On the other hand, I'm fairly sure that no one depends FormData, say...

> I would agree that (2) isn't a good option, and I doubt (3) is
> web-compatible ... :tears:

That's about where I am... and those three options were in fact 
discussed on this list before.

Ah, well.


More information about the es-discuss mailing list