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 26984 - Remove legacyiterable
Summary: Remove legacyiterable
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ms2ger
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-06 12:06 UTC by Anne
Modified: 2015-10-23 07:41 UTC (History)
4 users (show)

See Also:


Attachments

Description Anne 2014-10-06 12:06:58 UTC
Per bug 23212 and http://heycam.github.io/webidl/#es-iterators it appears that if you define an object that has indexed property getters and a length, you get Symbol.iterator for free. Given that all "legacy" objects that would need legacyiterable are of this form, it seems legacyiterable is in fact not needed.
Comment 1 Ms2ger 2015-10-19 17:18:23 UTC
https://github.com/heycam/webidl/pull/68