Bug 65440 - Store media types in filesystem
Summary: Store media types in filesystem
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-31 20:21 PDT by Eli Grey (:sephr)
Modified: 2011-08-01 09:02 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eli Grey (:sephr) 2011-07-31 20:21:46 PDT
(Cross-submitted from http://code.google.com/p/chromium/issues/detail?id=91159)

What steps will reproduce the problem?
1. Create a blob of any media type.
2. Write the blob to a file without a filename extension or a not well-known filename extension.
3. Navigate to the filesystem: URL.

What is the expected result?

The media type of the file is the media type that was assigned to the blob that was written to the file. If the blob had no media type, the media type of the file is derived from its filename extension.

What happens instead?

The media type of the file is derived only from its filename extension.