gecko-dev/uriloader/exthandler
Haik Aftandilian b8118af581 Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj
Add a new nsExternalHelperAppService derived class named nsOSHelperAppServiceChild to be used for the MIME service, external helper app service, and external protocol service interfaces in child processes. nsOSHelperAppServiceChild overrides some methods used to get MIME and external protocol handler information from the OS and implements these methods by remoting the calls to the parent process.

This is necessary because, on Mac, querying the OS for helper application info from sandboxed content processes is unreliable and has buggy side effects.

For now, only use the new class on Mac.

Android and unix file changes r+ by gcp.
Windows files changes r+ by bobowen.
Sync messages review r+ by nfroyd.

MozReview-Commit-ID: 63BiS6VCxfn

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

--HG--
extra : moz-landing-system : lando
2019-03-27 19:23:32 +00:00
..
android Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
mac Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
tests Bug 1533719 - test_getTypeFromExtension_with_empty_Content_Type.js is not testing what it is supposed to test. r=Felipe 2019-03-27 15:17:18 +00:00
uikit Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
unix Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
win Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
components.conf Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE 2019-02-14 11:50:23 +02:00
ContentHandlerService.cpp Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
ContentHandlerService.h Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky 2018-12-16 17:27:58 -08:00
DBusHelpers.h Bug 1518639: Break out the remote server pieces from nsRemoteService and deCOMtaminate. r=jimm 2019-02-27 15:45:51 -08:00
ExternalHelperAppChild.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
ExternalHelperAppChild.h Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
ExternalHelperAppParent.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
ExternalHelperAppParent.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
HandlerService.js Bug 1532941 - Enable ESLint for uriloader (automatic changes). r=Standard8,qdot 2019-03-14 11:19:44 +00:00
HandlerService.manifest
HandlerServiceChild.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
HandlerServiceParent.cpp Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
HandlerServiceParent.h Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
moz.build Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
nsCExternalHandlerService.idl Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky 2018-12-16 17:27:58 -08:00
nsContentHandlerApp.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsDBusHandlerApp.cpp Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky 2018-12-16 17:27:58 -08:00
nsDBusHandlerApp.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsExternalHelperAppService.cpp Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
nsExternalHelperAppService.h Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
nsExternalProtocolHandler.cpp Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 1 - Classification flags in nsIHttpChannel, r=valentin,dimi 2019-03-14 17:47:59 +00:00
nsExternalProtocolHandler.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsIContentDispatchChooser.idl
nsIExternalHelperAppService.idl
nsIExternalProtocolService.idl
nsIExternalURLHandlerService.idl
nsIHandlerService.idl Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
nsIHelperAppLauncherDialog.idl
nsISharingHandlerApp.idl Bug 1487333 - Remove nsIExternalSharingAppService. r=jchen 2018-08-30 18:54:24 +10:00
nsLocalHandlerApp.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsLocalHandlerApp.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsMIMEInfoChild.h Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
nsMIMEInfoImpl.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsMIMEInfoImpl.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
nsOSHelperAppServiceChild.cpp Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
nsOSHelperAppServiceChild.h Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
PExternalHelperApp.ipdl
PHandlerService.ipdl Bug 1452278 - Part 1 - Make macOS nsOSHelperAppService::GetFromTypeAndExtension() not call OS MIME API's in content r=bzbarsky,froydnj 2019-03-27 19:23:32 +00:00
WebHandlerApp.jsm Bug 1521596 incognito support for protocol handlers r=flod,kmag 2019-02-27 01:45:34 +00:00