rem: var linkTextURL = Components.classes["@mozilla.org/network/standard-url;1"].createInstance(Components.interfaces.nsIURI); linkTextURL.spec = linkNodeText; 
add: var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService); linkTextURL  = ioService.newURI(linkNodeText, null, null); 
context: function misMatchedHostWithLinkText(aLinkNode, aHrefURL, aLinkTextURL){  var linkNodeText = gatherTextUnder(aLinkNode);      // only worry about http and https urls  if (linkNodeText && (aHrefURL.schemeIs('http') || aHrefURL.schemeIs('https')))  {    // does the link text look like a http url?     if (linkNodeText.search(/(^http:|^https:)/) != -1)     {       var linkTextURL = Components.classes["@mozilla.org/network/standard-url;1"].createInstance(Components.interfaces.nsIURI);        linkTextURL.spec = linkNodeText;       aLinkTextURL.value = linkTextURL;       return aHrefURL.host != linkTextURL.host;     }  }  return false;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0ab93cf3a09be1fda64dd990a4df9b3cebfd8053/phishingDetector.js/buggy/mail/base/content/phishingDetector.js