rem: case "link": if (elem.rel == "icon") imageView.addRow([elem.href, gStrings.mediaLink, "", elem]); break; 
context: function grabAll(elem){  // one switch to rule them all  var linktext;  switch (elem.nodeName.toLowerCase())  {    // form tab    case "form":      formView.addRow([elem.name, elem.method, elem.getAttribute("action"), elem]);  // use getAttribute() because of bug 122128      break;    // link tab    case "a":      linktext = getValueText(elem);      linkView.addRow([linktext, elem.href, gStrings.linkAnchor, elem.target]);      break;    case "area":      linkView.addRow([elem.alt, elem.href, gStrings.linkArea, elem.target]);      break;    case "input":      linkView.addRow([elem.value || gStrings.linkSubmit, elem.form.getAttribute("action"), gStrings.linkSubmission, elem.form.getAttribute("target")]); // 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 = gStrings.linkStylesheet;        else          linktext = gStrings.linkRel;      }      else        linktext = gStrings.linkRev;      linkView.addRow([elem.rel || elem.rev, elem.href, linktext, elem.target]);      break;    // media tab    case "img":      imageView.addRow([elem.src, gStrings.mediaImg, (elem.hasAttribute("alt")) ? elem.alt : gStrings.notSet, elem]);      break;    case "input":      if (elem.type == "image")        imageView.addRow([elem.src, gStrings.mediaInput, (elem.hasAttribute("alt")) ? elem.alt : gStrings.notSet, elem]);      break;    case "applet":      //XXX When Java is enabled, the DOM model for <APPLET> is broken. Bug #59686.      // Also, some reports of a crash with Java in Media tab (bug 136535), and mixed      // content from two hosts (bug 136539) so just drop applets from Page Info when      // Java is on. For the 1.0.1 branch; get a real fix on the trunk.      if (!navigator.javaEnabled())        imageView.addRow([elem.code || elem.object, gStrings.mediaApplet, "",elem]);      break;    case "object":      imageView.addRow([elem.data, gStrings.mediaObject, getValueText(elem), elem]);      break;    case "embed":      imageView.addRow([elem.src, gStrings.mediaEmbed, "", elem]);      break;    case "link":      if (elem.rel == "icon")        imageView.addRow([elem.href, gStrings.mediaLink, "", elem]);      break;    default:      if (elem.hasAttributeNS(XLinkNS, "href"))      {        linktext = getValueText(elem);        linkView.addRow([linktext, elem.href, gStrings.linkX, ""]);      }      break;  }  return NodeFilter.FILTER_SKIP;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7ab1a0db412381c6c68066d1bd3971d2f9f83131/pageInfo.js/buggy/browser/base/content/pageInfo.js