gecko-dev/uriloader/exthandler/tests
Jan Horak 5b4fd25730 Bug 1297686 - List GIO handlers in the protocol handler list, in the handlers dialog, and in preferences. r=paolo
The nsGIOService now provides GetAppsForURIScheme which is used to append handlers
for specific scheme in handler list dialog (toolkit/mozapps/handling/content/dialog.js)
and also in Applications section in preferences. In case the default system handler
or user added handler has same name as one of the GIO handlers, the GIO handler
is not appended. The check for not adding handler is by using handler name.

The nsGIOMimeApp class now implements nsIHandlerApp interface. Instead overloaded
GetName methods (nsCString and nsString) we now use nsString variant everywhere.
This require change of nsGNOMERegistry::GetFromType which if fact leads to code
simplification.

The implementation of nsGNOMEShellService::SetDefaultBrowser has been changed
because implementation of CreateAppFromCommand has changed.
The CreateAppFromCommand no longer tries to find the application,
for that FindAppFromCommand has been introduced.

MozReview-Commit-ID: KmfFWRPqV3

--HG--
extra : rebase_source : 36d254cbc45cbe6929cc469cd531211f7ddd6a64
2017-12-28 15:25:32 +00:00
..
mochitest Bug 1411979 - Share the getTempFile function in xpcshell and browser tests. r=mak 2017-10-31 13:25:45 +00:00
unit Bug 1297686 - List GIO handlers in the protocol handler list, in the handlers dialog, and in preferences. r=paolo 2017-12-28 15:25:32 +00:00
HandlerServiceTestUtils.jsm Bug 1412282 - Allow calling Assert.jsm methods directly from other test-only modules. r=mikedeboer 2017-10-27 14:38:30 +01:00
moz.build Bug 1364050 - Part 1 - Remove the MOZ_JSDOWNLOADS configure option. r=mak 2017-05-05 12:16:42 +01:00
WriteArgument.cpp