This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11485 - Properties corresponding to operations should be enumerable
Summary: Properties corresponding to operations should be enumerable
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 22:22 UTC by Cameron McCormack
Modified: 2011-03-14 02:57 UTC (History)
2 users (show)

See Also:


Attachments

Description Cameron McCormack 2010-12-06 22:22:17 UTC
Implementations I tested just now (Firefox, Safari, Chrome, Opera) all enumerate properties corresponding to DOM methods.

http://people.mozilla.org/~cmccormack/tests/enum-htmlelement.html

I think the spec says for them to be [[Enumerable]]:false for consistency with built-in objects in ES, but people probably rely on them being enumerable on DOM objects.