Re: [FileAPI] Why is FileList a sequence?

Anne van Kesteren:
> I think the construct of a parametrized type makes a lot of sense.
> But it should work like the types we have to date, so that NodeList,
> StyleSheetList, CSSRuleList, etc. can actually be defined (and
> implemented) as one. Introducing a completely new type with different
> behavior is not worth it.

It might be worth introducing parameterized interface types in Web IDL
in the future, but given the number of edits that need doing and
outstanding issues to resolve, and the desire to get it stable quickly,
it sounds like a V2 feature.

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Wednesday, 9 March 2011 21:10:45 UTC