Bug 170050

Summary: [XDG] MIMETypeRegistry::getMIMETypeForExtension should return a null/empty string when mime type is unknown
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2 Keywords: Gtk, LayoutTestFailure
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mcatanzaro: review+

Carlos Garcia Campos
Reported 2017-03-24 06:09:37 PDT
That's what the callers expect, but we alre always returning XDG_MIME_TYPE_UNKNOWN which is application/octet-stream. This is causing several test failures
Attachments
Patch (1.75 KB, patch)
2017-03-24 06:13 PDT, Carlos Garcia Campos
mcatanzaro: review+
Carlos Garcia Campos
Comment 1 2017-03-24 06:13:21 PDT
Carlos Garcia Campos
Comment 2 2017-03-25 01:21:12 PDT
Note You need to log in before you can comment on or make changes to this bug.