Re: [heycam/webidl] Allow iterable objects without having to become fake arrays (or fix spec) (#325)

> The checking of values can be done by IDL's `sequence<>`, no?

Yes.

> Attributes can't use a `sequence<>` type. I'd have to be even more ridiculously non-JS and use a get/set function pair.

I don't know what you mean by this, but that's not correct as stated. Any iterable that authors pass is converted to a `sequence<>`, with the checking of values done during the conversion.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/325#issuecomment-294838251

Received on Tuesday, 18 April 2017 13:15:02 UTC