gecko-dev/browser/components/shell
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
..
content Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop 2017-10-11 15:43:51 +01:00
test Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
HeadlessShell.jsm Bug 1430923 - Change existing instances of 'let EXPORTED_SYMBOLS = ' to use 'var'. r=mossop 2018-01-16 23:08:35 +00:00
jar.mn Bug 1297239 - Enable eslint for browser/components/shell. r=Gijs 2016-08-23 15:39:18 -04:00
moz.build Bug 1378010 - screenshot from command line with headless; r=mossop 2017-09-12 16:55:27 -07:00
nsGNOMEShellService.cpp Bug 1411579 - add system handler when Firefox runs in flatpak; r=stransky 2018-01-12 16:32:53 +01:00
nsGNOMEShellService.h Bug 1302855 - Fold browsercomps into xul; r=bsmedberg 2016-09-27 19:54:37 -07:00
nsIGNOMEShellService.idl Bug 1238712 - Move duplicated shell-service code to a shared JSM. r=gijs 2016-01-15 12:35:15 -05:00
nsIMacShellService.idl Bug 1238712 - Move duplicated shell-service code to a shared JSM. r=gijs 2016-01-15 12:35:15 -05:00
nsIShellService.idl Bug 1119088: Fix ability to set an image as desktop background via context menu on macOS. r=mstange,mconley 2017-08-09 14:43:39 -04:00
nsMacShellService.cpp Bug 1406224 - Remove nsIDOMHTMLImageElement; r=bz 2017-10-06 13:27:23 -07:00
nsMacShellService.h Bug 1238712 - Move duplicated shell-service code to a shared JSM. r=gijs 2016-01-15 12:35:15 -05:00
nsSetDefaultBrowser.js Bug 1238712 - Move duplicated shell-service code to a shared JSM. r=gijs 2016-01-15 12:35:15 -05:00
nsSetDefaultBrowser.manifest
nsShellService.h Bug 1363095 - Remove unused PREF_SKIPDEFAULTBROWSERCHECK define. r=jimm 2017-05-10 22:20:06 +02:00
nsWindowsShellService.cpp Bug 1406224 - Remove nsIDOMHTMLImageElement; r=bz 2017-10-06 13:27:23 -07:00
nsWindowsShellService.h Bug 692295 - Remove nsWindowsShellService's ShortcutMaintenance method and calls now that it is no longer needed. r=jimm 2017-06-12 18:42:23 -07:00
ShellService.jsm Bug 1297239 - Enable eslint for browser/components/shell. r=Gijs 2016-08-23 15:39:18 -04:00