rem:     mimeSvc = Components.classes["@mozilla.org/uriloader/external-helper-app-service;1"].getService(Components.interfaces.nsIMIMEService); 
add:  mimeSvc = Components.classes["@mozilla.org/mime;1"].getService(Components.interfaces.nsIMIMEService); 
context:   getMIMEInfo: function (aResource) {    var types = this._inner.GetTarget(aResource, this._valueArc, true);    if (types) {      types = types.QueryInterface(Components.interfaces.nsIRDFLiteral);      types = types.Value.split(", ");            // We're using helper app service as our MIME Service here because the helper app service      // talks to OS Specific hooks that on some platforms (MacOS X) are required to get a       // fully populated MIME Info object. Thus it is this object that we return.       mimeSvc = Components.classes["@mozilla.org/uriloader/external-helper-app-service;1"].getService(Components.interfaces.nsIMIMEService);      return mimeSvc.getFromTypeAndExtension(types[0], null);    }        return null;  },
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/a3222cee161330aad60c25b77acca899cc9451c0/helperApps.js/clean/toolkit/mozapps/downloads/content/helperApps.js