add:  /* 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; }  
context: function getFileFromURLSpec(url){    const nsIFileProtocolHandler = Components.interfaces.nsIFileProtocolHandler;    var service = getService("@mozilla.org/network/io-service;1",                              "nsIIOService");        var handler = service.getProtocolHandler("file");    handler = handler.QueryInterface(nsIFileProtocolHandler);    return handler.getFileFromURLSpec(url);}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/cced3a98d3627cb410f91694942001cfba2033e0/utils.js/buggy/js/lib/utils.js