[Webkit-unassigned] [Bug 26221] New: WebKit should expose File.mediaType so pages can detect if files are images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 5 10:46:22 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26221

           Summary: WebKit should expose File.mediaType so pages can detect
                    if files are images
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
OtherBugsDependingO 25906
             nThis:


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.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list