[whatwg] File API features in HTML5

Ian Hickson ian at hixie.ch
Tue Aug 11 15:44:10 PDT 2009


On Thu, 6 Aug 2009, Jonas Sicking wrote:
> > 
> > I'm not sure how to expose the presence of data during the drag, 
> > though.
> 
> I think we currently list "application/x-moz-file" in the .types 
> property. Obviously we'd like to use a better type than that. Could we 
> simply use "application/file"? Do we need to register the type with 
> IANA? I expect yes.

I ended up just using "Files" as the magic string.


...and I got around to specifying that .types is accessible even during 
the events where the DataTransfer is empty.

(I really should just rewrite how the model is described, but oh well.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list