rem: linkView.addRow([++linkIndex, linktext, elem.href, linkAnchor]); 
add: linkView.addRow([++linkIndex, linktext, elem.href, linkAnchor, elem.target]); 
context: function makeLinkTab(){  //var start = new Date();  var theBundle = document.getElementById("pageinfobundle");  var linkTree = document.getElementById("linktree");  var linkView = new pageInfoTreeView(["link-number","link-name","link-address","link-type"], COPYCOL_LINK_ADDRESS);  linkTree.treeBoxObject.view = linkView;  linkList = grabAllLinks(theWindow, theDocument);  var linkAnchor = theBundle.getString("linkAnchor");  var linkArea = theBundle.getString("linkArea");  var linkSubmit = theBundle.getString("linkSubmit");  var linkSubmission = theBundle.getString("linkSubmission");  var linkRel = theBundle.getString("linkRel");  var linkStylesheet = theBundle.getString("linkStylesheet");  var linkRev = theBundle.getString("linkRev");  var linkX = theBundle.getString("linkX");  var linktext = null;  linkIndex = 0;  var length = linkList.length;  for (var i = 0; i < length; i++)  {    var elem = linkList[i];    switch (elem.nodeName.toLowerCase())    {      case "a":        linktext = getValueText(elem);        linkView.addRow([++linkIndex, linktext, elem.href, linkAnchor]);        break;      case "area":        linkView.addRow([++linkIndex, elem.alt, elem.href, linkArea]);        break;      case "input":        linkView.addRow([++linkIndex, elem.value || linkSubmit, elem.form.getAttribute("action"), linkSubmission]); // use getAttribute() due to bug 122128        break;      case "link":        if (elem.rel)        {          // should this test use regexes to be a little more lenient wrt whitespace?          if (elem.rel.toLowerCase() == "stylesheet" || elem.rel.toLowerCase() == "alternate stylesheet")            linktext = linkStylesheet;          else            linktext = linkRel;        }        else          linktext = linkRev;        linkView.addRow([++linkIndex, elem.rel || elem.rev, elem.href, linktext]);        break;      default:        if (elem.hasAttributeNS(XLinkNS, "href"))        {          linktext = getValueText(elem);          linkView.AddRow([++linkIndex, linktext, elem.href, linkX]);        }        else          dump("Page Info - makeLinkTab(): Hey, that's an odd one! ("+elem+")");        break;    }  }  linkView.rowCountChanged(0, length);  //var end = new Date();  //dump("links tab took "+(end-start)+"ms to build.\n");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6d7fefda7acdcf4452ae556cef9aa615a51e797d/pageInfo.js/buggy/suite/browser/pageInfo.js