On Tue, Jun 24, 2014 at 8:59 AM, Cameron McCormack <c...@mcc.id.au> wrote: > Yes hence the "something similar". :-) Was just easiest for working with > while implementing. Making the object iterable seems like the right thing > to do, but our bindings generation scripts don't handle "iterator" in IDL > yet.
That part of IDL is wrong. That needs to be fixed to use Symbol.iterator. And ideally an easier way to define an iterator than having to define the entire thing. E.g. for something like FormData all you need is iterating over Arrays of length 2. There should be an easy way to get to that. -- http://annevankesteren.nl/ _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform