add: theList = theList.concat(grabAllXLinks(aDocument));  
context: function grabAllLinks(aWindow,aDocument){  var theList = [];  if (aWindow && aWindow.frames.length > 0)  {    var num = aWindow.frames.length;    for (var i = 0; i < num; i++)    {      var frame = aWindow.frames[i];      theList = theList.concat(grabAllLinks(frame, frame.document));    }  }  theList = theList.concat(aDocument.getElementsByTagName("link"));  var inputList = aDocument.getElementsByTagName("input");  var length = inputList.length;  for (i = 0; i < length; i++)    if (inputList[i].type.toLowerCase() == "submit")      theList = theList.concat(inputList[i]);  if ("links" in aDocument)    return theList.concat(aDocument.links);  else    return theList.concat(aDocument.getElementsByTagNameNS(XHTMLNS, "a"));}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cd02e5d9081976b6ee01d64c4cf8e854fa5be395/pageInfo.js/clean/suite/browser/pageInfo.js