mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
94f489a33f
We currently fail to offer 'open with' options for application/zip mimetype .zip files, because out of the box, the Windows registry does not contain mimetype entries for application/zip. In fact, it contains comparatively few entries, and right now we bail out with an empty mime info object if we cannot find the server-provided mimetype in the registry (or cannot find an associated extension for that mimetype). Prior to the changes from bug 1597985, we would first try to find a handler based on the default extension for the mimetype, and used the file extension if that failed. The changes in this commit will cause us to fetch the default file extension for the mimetype, but continue with the provided extension if no mimetype information is available, restoring functionality in the case where Windows has no mimetype information. Differential Revision: https://phabricator.services.mozilla.com/D60139 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
docs | ||
exthandler | ||
prefetch | ||
moz.build |