Bug 51416
| Summary: | getMIMETypeForExtension() and getMIMETypeForPath() (in MIMETypeRegistry) should behave consistently. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Andy Estes <aestes> |
| Component: | WebCore Misc. | Assignee: | Andy Estes <aestes> |
| Status: | ASSIGNED | ||
| Severity: | Normal | CC: | aestes, ahmad.saleem792, ap, bfulgham |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Andy Estes
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
`getMIMETypeForPath` and `getMIMETypeForExtension ` removed: https://commits.webkit.org/226718@main