W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [FileAPI] Why is FileList a sequence?

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 10 Mar 2011 10:10:00 +1300
To: Anne van Kesteren <annevk@opera.com>
Cc: Simon Pieters <simonp@opera.com>, Arun Ranganathan <arun@mozilla.com>, public-webapps <public-webapps@w3.org>
Message-ID: <20110309211000.GA20932@wok.mcc.id.au>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:16 UTC