WebKit should expose File.mediaType so pages can detect if files are images http://www.w3.org/TR/file-upload/#idl-if-File This is related to the desire to be able to get preview images off of File objects: bug 25906. Unless we specify a behavior in which you just pass a File object to an HTMLImageObject and have it draw (and it always draws some sort of icon) then we need a way to determine if there is image data in the file. A MIME type would be one way.
File.prototype.type has been supported for ages.