rem: onUnloadRegistry.map(function(func) { func(); }); 
add: onUnloadRegistry.forEach(function(func) { func(); }); 
context: function onUnloadPageInfo(){  if (!document.getElementById("mediaTab").hidden) {    var os = Components.classes["@mozilla.org/observer-service;1"]                       .getService(Components.interfaces.nsIObserverService);    os.removeObserver(imagePermissionObserver, "perm-changed");  }  /* Call registered overlay unload functions */  onUnloadRegistry.map(function(func) { func(); });}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/c8cb09e628269efb8840081dbfdf051ebe7f50d0/pageInfo.js/buggy/browser/base/content/pageinfo/pageInfo.js