rem: helperAppLoader = window.arguments[0]; 
add: helperAppLoader = window.arguments[0].QueryInterface( Components.interfaces.nsIHelperAppLauncher ); 
context: function onLoad() {    // Set global variables.    helperAppLoader = window.arguments[0];    if ( !helperAppLoader ) {        dump( "Invalid argument to downloadProgress.xul\n" );        window.close()        return;    }    dialog = new Object;    dialog.strings = new Array;    dialog.location    = document.getElementById("dialog.location");    dialog.contentType = document.getElementById("dialog.contentType");    dialog.fileName    = document.getElementById("dialog.fileName");    dialog.status      = document.getElementById("dialog.status");    dialog.progress    = document.getElementById("dialog.progress");    dialog.progressText = document.getElementById("dialog.progressText");    dialog.timeLeft    = document.getElementById("dialog.timeLeft");    dialog.timeElapsed = document.getElementById("dialog.timeElapsed");    dialog.cancel      = document.getElementById("cancel");    dialog.pause       = document.getElementById("pause")    dialog.request     = 0;    dialog.downloadPaused = false;    keepProgressWindowUpBox = document.getElementById('keepProgressDialogUp');    // Set up dialog button callbacks.    var object = this;    doSetOKCancel("", function () { return object.onCancel();});    // Fill dialog.    loadDialog();    // set our web progress listener on the helper app launcher    helperAppLoader.setWebProgressListener(progressListener);    moveToAlertPosition();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/dff78f458595432cba414827941b3f4ef46ce1ba/helperAppDldProgress.js/clean/xpfe/components/ucth/resources/helperAppDldProgress.js