Comment 40 for bug 239952

Revision history for this message
In , Mh+mozilla (mh+mozilla) wrote :

(In reply to comment #15)
> > Interestingly, that's not what the windows port does.
>
> The Windows port has no concept of returning information for a MIME type. It
> just maps the type to an extension and returns the info for that extension,
> always. Which means that in this case its just returning its info for 'eps'.

But nsExternalHelperService adds info from extraMimeEntries, which means some mime types have extra extensions information, even in that case where the type was wrong. (The more I look at the exthandler code, the less it makes sense as a whole...)

> Not much we can do about that given how Windows does file types, but I don't
> think we want that behavior on Linux.
>
> I haven't figured out yet how to tweak the Mac build system to package
> xpcshell, and I don't have a libxul build on hand (needed to package), but I've
> put up an optimized Mac xpcshell for a build from yesterday or so at
> <http://web.mit.edu/bzbarsky/www/xpcshell>. With any luck it'll do what you
> want.

Thanks. I'll give it a try tonight.