rem: return theList.concat(aDocument.images); 
add: if ("images" in aDocument) return theList.concat(aDocument.images); else return theList.concat(aDocument.getElementsByTagNameNS(XHTMLNS, "img")); 
context: function grabAllMedia(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(grabAllMedia(frame, frame.document));    }  }  theList = theList.concat(aDocument.getElementsByTagName("embed"), aDocument.applets, aDocument.getElementsByTagName("object"));  var inputList = aDocument.getElementsByTagName("input");  var length = inputList.length  for (i = 0; i < length; i++)    if(inputList[i].type.toLowerCase() == "image")      theList = theList.concat(inputList[i]);  var linkList = aDocument.getElementsByTagName("link");  length = linkList.length;  for (i = 0; i < length; i++)    if(linkList[i].rel.match(/\bicon\b/i))      theList = theList.concat(linkList[i]);  return theList.concat(aDocument.images);}  
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7422a60ddad8e64299966483307699a2728a5937/pageInfo.js/buggy/xpfe/browser/resources/content/pageInfo.js