gecko-dev/toolkit/system
joshua stein 0108b2b792 Bug 1580271: defer to xdg-open when opening files on OpenBSD r=gcp
g_app_info_get_default_for_type() will fail on OpenBSD's veiled
filesystem since we most likely don't have direct access to the binaries
that are registered as defaults for this type.  Fake it up by just
executing xdg-open via gio-launch-desktop (which we do have access to)
and letting it figure out which program to execute for this MIME type.

This has the side-effect of ignoring/losing MIME types associations
registered in firefox prefs only.

Differential Revision: https://phabricator.services.mozilla.com/D51388

--HG--
extra : moz-landing-system : lando
2019-11-07 17:08:57 +00:00
..
androidproxy
gnome Bug 1580271: defer to xdg-open when opening files on OpenBSD r=gcp 2019-11-07 17:08:57 +00:00
osxproxy
unixproxy Bug 1558915 - Use infallible nsIURI::SchemeIs in toolkit/ r=Ehsan 2019-08-02 16:31:54 +00:00
windowsDHCPClient
windowsproxy