On 12/24/14 4:22 PM, Brendan Eich wrote:
We aren't going to reverse-Conway the core language built-ins to have
enumerable methods, ever
Sure. Note that this was not one of my three possible listed courses of
action.
-- so I think the right attack is on the quirky DOM.
I think the fundamental assumption that the DOM is "quirky" is broken.
The DOM is what it is. It dates back on the web just as far as ES does.
It was largely implemented (certainly in terms of its ES bindings) by
ES engine implementors. The "us vs them" mentality I see so much of on
this list is very discouraging, honestly.
Are there some DOM prototype methods/accessors that are non-enumerable?
Not in the Web IDL spec or in Gecko or IE as far as I know.
I believe toString on things like HTMLAnchorElement is not enumerable in
Chrome and Safari. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=26179
I'm not aware of anything else in the "DOM" that's not enumerable.
-Boris
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss