Summary: | [GTK][EFL] Implement MIMETypeRegistry::getPreferredExtensionForMIMEType | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||
Component: | Platform | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro | ||||
Priority: | P2 | Keywords: | Gtk, LayoutTestFailure | ||||
Version: | WebKit Local Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=168193 | ||||||
Attachments: |
|
Description
Carlos Garcia Campos
2017-02-11 00:46:05 PST
Created attachment 301248 [details]
Patch
Comment on attachment 301248 [details]
Patch
r=me but I'm not happy about the code duplication between MIMETypeRegistryEfl.cpp and MIMETypeRegistryGtk.cpp. Normally that means EFL gets an older and buggier version of our code for no good reason, but in this case it looks like the opposite is true, since EFL has more MIME types than us in its map. This should really be refactored into MIMETypeRegistryGeneric.cpp, which would be easy.
Committed r212192: <http://trac.webkit.org/changeset/212192> It broke TestDownloads: bug #168193 |