[Webkit-unassigned] [Bug 70002] New: [EFL]: Move from FileChooserSettings deprecatedAcceptType to acceptedMIMETypes

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


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

           Summary: [EFL]: Move from FileChooserSettings
                    deprecatedAcceptType to acceptedMIMETypes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit EFL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: demarchi at webkit.org, gyuyoung.kim at webkit.org


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

EFL should transition from the deprecated value to the new value. It looks to me as though
the string was exposed to EFL API "ewk_view_run_open_panel". It sounds possible to update
that from a char* to an Eina_List of strings.

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