rem: if (window.arguments[5]) gAlertListener = window.arguments[5].QueryInterface(Components.interfaces.nsIAlertListener); 
add: gAlertListener = window.arguments[5]; 
context: function prefillAlertInfo(){  // unwrap all the args....  // arguments[0] --> the image src url  // arguments[1] --> the alert title  // arguments[2] --> the alert text  // arguments[3] --> is the text clickable?   // arguments[4] --> the alert cookie to be passed back to the listener  // arguments[5] --> an optional callback listener (nsIAlertListener)  document.getElementById('alertImage').setAttribute('src', window.arguments[0]);  document.getElementById('alertTitleLabel').setAttribute('value', window.arguments[1]);  document.getElementById('alertTextLabel').setAttribute('value', window.arguments[2]);  gAlertTextClickable = window.arguments[3];  gAlertCookie = window.arguments[4];  if (gAlertTextClickable)    document.getElementById('alertTextLabel').setAttribute('clickable', true);    // the 5th argument is optional  if (window.arguments[5])    gAlertListener = window.arguments[5].QueryInterface(Components.interfaces.nsIAlertListener);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d660975a1582058ca138bdaaef1cdb45154c6122/alert.js/clean/toolkit/components/alerts/resources/content/alert.js