Re: [w3c/FileAPI] Make the FileList interface iterable (#94)

See https://heycam.github.io/webidl/#es-iterators

Since FileList has an indexed property getter and an integer-typed length attribute it is implicitly iterable. No need for an explicit declaration in the spec.

(I forget this on a regular basis and almost suggested the same thing a few weeks ago.)

In Chrome `!!FileList.prototype[Symbol.iterator]` is true. If other browsers don't support that it's a bug in their bindings implementation.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/94#issuecomment-350030699

Received on Thursday, 7 December 2017 17:04:59 UTC