gecko-dev/uriloader/exthandler
Jan Horak e55996cc86 Bug 1411579 - add system handler when Firefox runs in flatpak; r=stransky
Firefox in Flatpak sandboxed environment does not get the list
of installed applications on the system because application should
know about the environment as little as possible. Introducing
nsFlatpakHandlerApp which forwards requests for opening downloaded files
to the system by utilizing gtk_show_uri fuction.

This changeset also removes nsIGIOMimeApp::Launch method from the interface
because it can be fully replaced with LaunchWithUri from nsIHandlerApp
interface.

The TMPDIR where files are downloaded when user choose to open them
needs to be accessible from sandbox and host. The default settings
TMPDIR=/tmp is accessible only to the sandbox.

To workaround for is to set TMPDIR environment variable to
$XDG_CACHE_HOME/tmp before executing Firefox.

MozReview-Commit-ID: CSBv0QcETpd

--HG--
extra : rebase_source : 8155c33fa9c402d2668bdfb07094ba6758fe6203
2018-01-12 16:32:53 +01:00
..
android Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj 2017-10-21 23:53:02 +09:00
mac Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
tests Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco 2018-01-09 17:00:49 +01:00
uikit Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
unix Bug 1411579 - add system handler when Firefox runs in flatpak; r=stransky 2018-01-12 16:32:53 +01:00
win Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
ContentHandlerService.cpp Bug 1389836 - Push extensions from MIME info objects to the child. r=bz 2017-11-01 17:49:22 -07:00
ContentHandlerService.h
DBusHelpers.h Bug 1413044 - Move DBusHelper.h in uriloader/exthandler, r=smaug 2017-11-01 23:24:38 +01:00
ExternalHelperAppChild.cpp Bug 1368343 - Be paranoid about null TabChild. r=billm 2017-08-31 16:54:31 -07:00
ExternalHelperAppChild.h Bug 1350058 - Update the content context if we close the downloading window. r=mconley 2017-03-23 17:01:30 -07:00
ExternalHelperAppParent.cpp Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor 2017-04-20 10:15:06 +08:00
ExternalHelperAppParent.h Bug 1350058 - Update the content context if we close the downloading window. r=mconley 2017-03-23 17:01:30 -07:00
HandlerServiceChild.h Bug 1389836 - Put HandlerServiceChild in the proper namespace. r=bz 2017-10-25 14:58:50 -07:00
HandlerServiceParent.cpp Bug 1389836 - Don't recreate mHandlerInfo for every little change. r=bz 2017-11-14 15:37:47 -08:00
HandlerServiceParent.h Bug 1382323 - Remote OSProtocolHandlerExists. r=jld,smaug 2017-09-04 21:48:59 +02:00
PExternalHelperApp.ipdl Bug 1350058 - Update the content context if we close the downloading window. r=mconley 2017-03-23 17:01:30 -07:00
PHandlerService.ipdl Bug 1389836 - Push extensions from MIME info objects to the child. r=bz 2017-11-01 17:49:22 -07:00
moz.build Bug 1278282 - update of the moz.build files to remove gtk2 references r=lsalzman 2018-01-10 10:04:59 +01:00
nsCExternalHandlerService.idl
nsContentHandlerApp.h
nsDBusHandlerApp.cpp Bug 1412258 - Get rid of ipc/dbus, r=smaug 2017-10-27 18:41:40 +02:00
nsDBusHandlerApp.h
nsExternalHelperAppService.cpp Bug 1389836 - Push extensions from MIME info objects to the child. r=bz 2017-11-01 17:49:22 -07:00
nsExternalHelperAppService.h Bug 1412824: Refactor MaybeCloseWindow and allow to reuse the window close code from within nsExternalHelperAppService as well as nsDSURIContentListener. r=smaug 2017-11-03 13:23:25 +01:00
nsExternalProtocolHandler.cpp Bug 1426501 - Change C++ code to use NS_MutateURI when changing URI r=mayhemer 2018-01-08 15:20:35 +01:00
nsExternalProtocolHandler.h
nsHandlerService-json.js Bug 1297686 - List GIO handlers in the protocol handler list, in the handlers dialog, and in preferences. r=paolo 2017-12-29 07:27:42 +00:00
nsHandlerService-json.manifest Bug 1287658 - Migrate from "mimeTypes.rdf" to "handlers.json". r=mak 2017-04-15 12:16:59 +01:00
nsHandlerService.js Bug 1389443 - Load handlers.json asynchronously r=florian,Paolo 2017-08-15 14:57:32 -07:00
nsHandlerService.manifest Bug 1287658 - Migrate from "mimeTypes.rdf" to "handlers.json". r=mak 2017-04-15 12:16:59 +01:00
nsIContentDispatchChooser.idl
nsIExternalHelperAppService.idl
nsIExternalProtocolService.idl Bug 389565 - Remove nsIExternalProtocolService::LoadUrl. r=Paolo 2017-08-06 11:25:42 +09:00
nsIExternalSharingAppService.idl
nsIExternalURLHandlerService.idl
nsIHandlerService.idl Bug 1382323 - Remote OSProtocolHandlerExists. r=jld,smaug 2017-09-04 21:48:59 +02:00
nsIHelperAppLauncherDialog.idl
nsLocalHandlerApp.cpp
nsLocalHandlerApp.h
nsMIMEInfoImpl.cpp Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm. 2017-08-17 15:29:03 +10:00
nsMIMEInfoImpl.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
nsWebHandlerApp.js Bug 1364016 - Explicitly pass a triggeringPrincipal to openURI. r=gijs,baku 2017-07-05 21:58:21 +02:00
nsWebHandlerApp.manifest