rem: var service = getService("@mozilla.org/network/io-service;1", 
add: var service = getService("@mozilla.org/network/io-service;1", 
context: function getFileFromURLSpec(url){    const nsIFileProtocolHandler = Components.interfaces.nsIFileProtocolHandler;    var service = getService("@mozilla.org/network/io-service;1",                              "nsIIOService");    /* In sept 2002, bug 166792 moved this method to the nsIFileProtocolHandler     * interface, but we need to support older versions too. */    if ("getFileFromURLSpec" in service)        return service.getFileFromURLSpec(url);    /* In builds before 2002-08-15, there is no getFileFromURLSpec at all.     * Instead, we have nsIIOservice.initFileFromURLSpec(nsIFile, string).     */    if ("initFileFromURLSpec" in service)    {        var file = newObject("@mozilla.org/file/local;1", "nsILocalFile");        service.initFileFromURLSpec(file, url);        return file;    }    var handler = service.getProtocolHandler("file");    handler = handler.QueryInterface(nsIFileProtocolHandler);    return handler.getFileFromURLSpec(url);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d6298c315ff74b4cd7e3ca8bc8dbe45e1abd18dc/utils.js/clean/extensions/irc/js/lib/utils.js