rem: onResetRegistry.map(function(func) { func(); }); 
add: onResetRegistry.forEach(function(func) { func(); }); 
context: function resetPageInfo(){  /* Reset Meta tags part */  gMetaView.clear();  /* Reset Media tab */  var mediaTab = document.getElementById("mediaTab");  if (!mediaTab.hidden) {    var os = Components.classes["@mozilla.org/observer-service;1"]                       .getService(Components.interfaces.nsIObserverService);    os.removeObserver(imagePermissionObserver, "perm-changed");    mediaTab.hidden = true;  }  gImageView.clear();  gImageHash = {};  /* Reset Feeds Tab */  var feedListbox = document.getElementById("feedListbox");  while (feedListbox.firstChild)    feedListbox.removeChild(feedListbox.firstChild);  /* Call registered overlay reset functions */  onResetRegistry.map(function(func) { func(); });  /* And let's rebuild the data */  loadPageInfo();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/ea04849aa9c95674dbe2a8aaae4b7470e1355b97/pageInfo.js/clean/browser/base/content/pageinfo/pageInfo.js