W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

Re: [FileAPI] File.mediaType

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 18 Nov 2009 11:59:44 +0100
To: arun@mozilla.com, "Marcin Hanclik" <Marcin.Hanclik@access-company.com>
Cc: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.u3k7hu1n64w2qv@anne-van-kesterens-macbook.local>
On Tue, 17 Nov 2009 22:26:20 +0100, Arun Ranganathan <arun@mozilla.com>  
wrote:
> 1. I agree that name consistency is desirable, so mediaType is now  
> simply type.  I'll point out that <style>.type expects very few types  
> back, whereas for files, the picture is more complicated, so simply  
> calling it type has drawbacks, but since mediaType isn't used elsewhere  
> on the platform, I agreed that reusing the same name was desirable.

Yay! Now can we please get File.URL too? :-) (It does not matter what the  
scheme ends up being, they're all URLs as far as author-facing APIs  
elsewhere are concerned, as mentioned before.)


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 18 November 2009 11:00:34 GMT

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