gecko-dev/uriloader/exthandler
Paolo Amadini 9c01cb1c62 Bug 1350026 - Fix recognition of the handler type in the JSON handler service back-end, and add detailed testing of the file format. r=mak
On Android, nsIHandlerInfo instances representing protocols are also instances of nsIMIMEInfo. This causes the RDF back-end of the handler service to store them in the same cateory as MIME types. This fix corrects the situation for the JSON back-end, while leaving the RDF back-end unchanged for backwards compatibility.

Detailed testing is added using different RDF reference files for Desktop and Android.

MozReview-Commit-ID: B0ls60jfENe

--HG--
extra : source : 0bfa2e0ad6232cbaf66dd7e42326101e23b62352
2017-04-04 17:20:37 +01:00
..
android Bug 1293212 - Add MOZ_MUST_USE to prevent potential bugs. r=smaug 2016-08-08 18:16:15 +08:00
gonk Bug 1293212 - Add MOZ_MUST_USE to prevent potential bugs. r=smaug 2016-08-08 18:16:15 +08:00
mac Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm. 2016-09-02 17:12:24 +10:00
tests Bug 1350026 - Fix recognition of the handler type in the JSON handler service back-end, and add detailed testing of the file format. r=mak 2017-04-04 17:20:37 +01:00
uikit
unix Bug 1346859 - Remove dead code found by clang-tidy in unix/nsOSHelperAppService.cpp r=froydnj 2017-03-13 18:09:02 +01:00
win Bug 1340803 - Make nsMIMEInfoWin::GetPossibleLocalHandlers check fileExt is non-empty before checking its first char. r=jimm 2017-02-18 07:31:00 -05:00
ContentHandlerService.cpp
ContentHandlerService.h Bug 1293212 - Add MOZ_MUST_USE to prevent potential bugs. r=smaug 2016-08-08 18:16:15 +08:00
ExternalHelperAppChild.cpp Bug 1350058 - Update the content context if we close the downloading window. r=mconley 2017-03-23 17:01:30 -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 1350058 - Update the content context if we close the downloading window. r=mconley 2017-03-23 17:01:30 -07: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
HandlerServiceParent.cpp Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
HandlerServiceParent.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
moz.build Bug 1287660 - New implementation of nsIHandlerService for the JSON backend. r=Paolo 2017-03-10 17:41:33 +08:00
nsCExternalHandlerService.idl
nsContentHandlerApp.cpp
nsContentHandlerApp.h
nsDBusHandlerApp.cpp Bug 1267214: Close private DBus connection in |nsDBusHandlerApp::LaunchWithURI|, r=bz 2016-05-04 11:41:07 +02:00
nsDBusHandlerApp.h
nsExternalHelperAppService.cpp Bug 1350058 - Update the content context if we close the downloading window. r=mconley 2017-03-23 17:01:30 -07:00
nsExternalHelperAppService.h Bug 1350058 - Update the content context if we close the downloading window. r=mconley 2017-03-23 17:01:30 -07:00
nsExternalProtocolHandler.cpp Bug 1349987 - Init nsExtProtocolChannel.mLoadFlags to 0, r=jduell 2017-03-23 10:17:00 +01:00
nsExternalProtocolHandler.h
nsHandlerService-json.js Bug 1350026 - Fix recognition of the handler type in the JSON handler service back-end, and add detailed testing of the file format. r=mak 2017-04-04 17:20:37 +01:00
nsHandlerService-json.manifest Bug 1287660 - New implementation of nsIHandlerService for the JSON backend. r=Paolo 2017-03-10 17:41:33 +08:00
nsHandlerService.js Bug 1346716 - Remove the entry for "mimeTypes.rdf" in the directory service. r=mak 2017-03-30 15:51:18 +01:00
nsHandlerService.manifest
nsIContentDispatchChooser.idl
nsIExternalHelperAppService.idl
nsIExternalProtocolService.idl
nsIExternalSharingAppService.idl
nsIExternalURLHandlerService.idl
nsIHandlerService.idl
nsIHelperAppLauncherDialog.idl
nsLocalHandlerApp.cpp
nsLocalHandlerApp.h
nsMIMEInfoImpl.cpp
nsMIMEInfoImpl.h
nsWebHandlerApp.js Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
nsWebHandlerApp.manifest
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