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

Re: [FileAPI] Why is FileList a sequence?

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 11 Mar 2011 00:02:25 +0000 (UTC)
To: Cameron McCormack <cam@mcc.id.au>
cc: Anne van Kesteren <annevk@opera.com>, Simon Pieters <simonp@opera.com>, Arun Ranganathan <arun@mozilla.com>, public-webapps <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.64.1103102359020.944@ps20323.dreamhostps.com>
On Fri, 11 Mar 2011, Cameron McCormack wrote:
> Anne van Kesteren:
> > > > Lets at least remove sequence<T> from the draft then.
> 
> Cameron McCormack:
> > > Other specifications use it, and it really serves a different
> > > purpose from things like NodeList, like passing in native Array
> > > objects to DOM methods.  So I don’t think we should remove it.
> 
> Anne van Kesteren:
> > Which specifications use it then?
> 
> The ones I could find were: Web Applications 1.0, RDFa API and The
> System Information API (admittedly fewer than I thought!).

Web Apps 1.0 will change if you need it to. Don't constrain on my account 
here. I'll do whatever you think we should do. The only places I use it 
are in an argument to a method because I want to allow authors to pass in 
literal JS Arrays of values, and on a NodeList descendant where I just 
wanted the user of the API to be able to get a JS Array of values. I don't 
think there's much implementation compatibility constraint here.

(Are the other two implemented by any browsers?)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 11 March 2011 00:02:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT