[Webkit-unassigned] [Bug 70003] New: [Chromium]: Move from FileChooserSettings deprecatedAcceptType to acceptMIMETypes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 23:39:23 PDT 2011


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

           Summary: [Chromium]: Move from FileChooserSettings
                    deprecatedAcceptType to acceptMIMETypes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: dglazkov at chromium.org, tkent at chromium.org


In r97336 and r97338 WebCore::FileChooserSettings deprecated its "acceptType" string
in favor of a Vector<String> of MIME types "acceptMIMETypes".

If Chromium could transition to the new Vector that would be great. It would then share
the same parsing code as other ports. This would require coordination with the chromium
source which expects a string.

WebCore::FileChooserSettings is a struct of parameters for a <input type="file">
File Upload Dialog. Its passed to ports via ChomeClient::runOpenPanel. The deprecated
string value was the unparsed "accept" attribute from the <input>. The new Vector
value is the parsed MIME types from that "accept" attribute. This way all ports
share the same parsing code for the different MIME types listed in the "accept" attribute.

The changes:
<http://trac.webkit.org/changeset/97336>
<http://trac.webkit.org/changeset/97338>

Introduced in the following:
<http://webkit.org/b/69598> Pass Parsed Accept Attribute MIME Types to WebKit Clients

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



More information about the webkit-unassigned mailing list