rem: url = Components.classes["@mozilla.org/network/standard-url;1"]. createInstance(Components.interfaces.nsIURI); url.spec = alink.baseURI; 
add: var ioService = Components.classes["@mozilla.org/network/io-service;1"] .getService(Components.interfaces.nsIIOService); url = ioService.newURI(alink.baseURI, null, null); 
context:   findAtomLink: function(linkRel, linkElements)  {    // XXX Need to check for MIME type and hreflang    for ( var j=0 ; j<linkElements.length ; j++ ) {      var alink = linkElements[j];      if (alink &&           //if there's a link rel          ((alink.getAttribute('rel') && alink.getAttribute('rel') == linkRel) ||           //if there isn't, assume 'alternate'           (!alink.getAttribute('rel') && (linkRel=="alternate")))           && alink.getAttribute('href'))       {        // Atom links are interpreted relative to xml:base        url = Components.classes["@mozilla.org/network/standard-url;1"].                    createInstance(Components.interfaces.nsIURI);        url.spec = alink.baseURI;        return url.resolve(alink.getAttribute('href'));      }    }    return null;  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a0ff1222603c706d922cf197ce921ded3a8286d2/feed-parser.js/buggy/mail/extensions/newsblog/content/feed-parser.js