Closed Bug 866738 Opened 11 years ago Closed 11 years ago

Makes Add-on SDK high level API iterable with `for…of`

Categories

(Add-on SDK Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 865489

People

(Reporter: zer0, Unassigned)

Details

Currently only `selection` module is iterable with `for…of`. We should add the capability to all our High Level APIs to be iterable with such statement; especially because `for each` is deprecated (see bug 866733), we should provide an alternative to add-on devs.

To be clear, I'm not suggesting to remove the `for each` iteration capability from our APIs, but add the `for…of` iterator too.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.