The external helper app service is used for finding and launching platform specific external applications for a given mime content type.
[scriptable, uuid(0ea90cf3-2dd9-470f-8f76-f141743c5678)]
Methods
Returns true if data from a URL with this extension combination is to be decoded from aEncodingType prior to saving or passing off to helper apps, false otherwise.
Binds an external helper application to a stream listener. The caller
should pump data into the returned stream listener. When the OnStopRequest
is issued, the stream listener implementation will launch the helper app
with this data.
@param aMimeContentType The content type of the incoming data
@param aRequest The request corresponding to the incoming data
@param aWindowContext Use GetInterface to retrieve properties like the
dom window or parent window...
The service might need this in order to bring up dialogs.
@return A nsIStreamListener which the caller should pump the data into.
nsIStreamListener
doContent(in ACString aMimeContentType, in nsIRequest aRequest, in nsIInterfaceRequestor aWindowContext)
Compare to: