Bug#698426: iceweasel: Please suggest applications handling mime type

Petter Reinholdtsen pere at hungry.com
Mon Jan 21 09:11:52 UTC 2013


[Mike Hommey]
> There are several ways in which javascript can call native code.
> It's possible to call it directly with js-ctypes, although a bit
> cumbersome, or to call it through a xpcom component which acts as a
> proxy. If the packagekit (or whatever else) API is simple enough,
> js-ctypes might be the best choice.

Right.  Perhaps it could even call python, and use the code I drafted
in
<URL: http://people.skolelinux.org/pere/blog/How_to_find_a_browser_plugin_supporting_a_given_MIME_type.html >?
Or some apt API directly?

All it need to do is loop over all packages available via APT and look
for some extra headers.  Perhaps PackageKit is overkill for this?

-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-mozilla-maintainers mailing list