Bug 51416 - getMIMETypeForExtension() and getMIMETypeForPath() (in MIMETypeRegistry) should behave consistently.
Summary: getMIMETypeForExtension() and getMIMETypeForPath() (in MIMETypeRegistry) shou...
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Andy Estes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-21 13:22 PST by Andy Estes
Modified: 2023-09-08 15:50 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Estes 2010-12-21 13:22:13 PST
Currenty getMIMETypeForPath() returns 'application/octet-stream' when a more suitable MIME type can't be determined, but getMIMETypeForExtension() returns the empty string. These two methods should behave consistently.
Comment 1 Ahmad Saleem 2023-09-08 15:50:09 PDT
`getMIMETypeForPath` and `getMIMETypeForExtension ` removed: https://commits.webkit.org/226718@main