rem: var href = makeURLAbsolute(elem.baseURI, elem.href.baseVal); addImage(href, gStrings.mediaImg, "", elem, false); 
add: try {   var href = makeURLAbsolute(elem.baseURI, elem.href.baseVal); addImage(href, gStrings.mediaImg, "", elem, false); } catch (e) { } 
context: function grabAll(elem){  // check for background images, any node may have one  var ComputedStyle = elem.ownerDocument.defaultView.getComputedStyle(elem, "");  var url = ComputedStyle && ComputedStyle.getPropertyCSSValue("background-image");  if (url && url.primitiveType == CSSPrimitiveValue.CSS_URI)    addImage(url.getStringValue(), gStrings.mediaBGImg, gStrings.notSet, elem, true);  // one swi^H^H^Hif-else to rule them all  if (elem instanceof HTMLImageElement)    addImage(elem.src, gStrings.mediaImg,             (elem.hasAttribute("alt")) ? elem.alt : gStrings.notSet, elem, false);#ifdef MOZ_SVG  else if (elem instanceof SVGImageElement) {    var href = makeURLAbsolute(elem.baseURI, elem.href.baseVal);    addImage(href, gStrings.mediaImg, "", elem, false);  }#endif  else if (elem instanceof HTMLLinkElement) {    if (elem.rel && /\bicon\b/i.test(elem.rel))      addImage(elem.href, gStrings.mediaLink, "", elem, false);  }  else if (elem instanceof HTMLInputElement || elem instanceof HTMLButtonElement) {    if (elem.type.toLowerCase() == "image")      addImage(elem.src, gStrings.mediaInput,               (elem.hasAttribute("alt")) ? elem.alt : gStrings.notSet, elem, false);  }  else if (elem instanceof HTMLObjectElement)    addImage(elem.data, gStrings.mediaObject, getValueText(elem), elem, false);  else if (elem instanceof HTMLEmbedElement)    addImage(elem.src, gStrings.mediaEmbed, "", elem, false);  onProcessElement.forEach(function(func) { func(elem); });  return NodeFilter.FILTER_ACCEPT;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/0a231b821d8f052cd00e1e97acd16f52e60a3a53/pageInfo.js/buggy/browser/base/content/pageinfo/pageInfo.js