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>  
> 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
Received on Wednesday, 18 November 2009 11:00:34 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:20 UTC