rem: aParams.href = href; aParams.linkNode = linkNode; 
add: return linkNode ? {href: href, linkNode: linkNode} : null; 
context:   function hrefAndLinkNodeForClickEvent(aParams)  {    var event = aParams.event;    var target = event.target;    var href = aParams.href;    var linkNode = aParams.linkNode;    var isKeyPress = (event.type == "keypress");    if ( target instanceof HTMLAnchorElement ||         target instanceof HTMLAreaElement   ||         target instanceof HTMLLinkElement ) {      if (target.hasAttribute("href"))         linkNode = target;    }    else if ( target instanceof HTMLInputElement            && (event.target.type == "text") // text field            && !isKeyPress       // not a key event            && event.detail == 2 // double click            && event.button == 0 // left mouse button            && event.target.value.length == 0 // no text has been entered            && "@mozilla.org/wallet/wallet-service;1" in Components.classes // wallet is available    ) {      prefillTextBox(target); // prefill the empty text field if possible    }    else {      linkNode = event.originalTarget;      while (linkNode && !(linkNode instanceof HTMLAnchorElement))        linkNode = linkNode.parentNode;      // <a> cannot be nested.  So if we find an anchor without an      // href, there is no useful <a> around the target      if (linkNode && !linkNode.hasAttribute("href"))        linkNode = null;    }    if (linkNode) {      href = linkNode.href;    } else {      // Try simple XLink      linkNode = target;      while (linkNode) {        if (linkNode.nodeType == Node.ELEMENT_NODE) {          href = linkNode.getAttributeNS("http://www.w3.org/1999/xlink", "href");          break;        }        linkNode = linkNode.parentNode;      }      if (href) {        href = makeURLAbsolute(linkNode.baseURI, href);      }    }    aParams.href = href;    aParams.linkNode = linkNode;  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ef5b2de61447d4ee169752c676df70204a7651fe/contentAreaClick.js/clean/xpfe/communicator/resources/content/contentAreaClick.js