rem: dialog.title.value = docTitle; 
add: if (window.arguments[1]) { progressParams = window.arguments[1].QueryInterface(Components.interfaces.nsIPrintProgressParams) if (progressParams) { dialog.title.crop = progressParams.docTitle ? "end" : "center"; dialog.title.value = progressParams.docTitle || progressParams.docURL; } } 
context: function onLoad() {    // Set global variables.    printProgress = window.arguments[0];    if (window.arguments[1])    {      progressParams = window.arguments[1].QueryInterface(Components.interfaces.nsIPrintProgressParams)      if (progressParams)      {        docTitle = elipseString(progressParams.docTitle, false);        docURL   = elipseString(progressParams.docURL, true);      }    }    if ( !printProgress ) {        dump( "Invalid argument to printPreviewProgress.xul\n" );        window.close()        return;    }    dialog          = new Object;    dialog.strings  = new Array;    dialog.title      = document.getElementById("dialog.title");    dialog.titleLabel = document.getElementById("dialog.titleLabel");    dialog.title.value = docTitle;    // set our web progress listener on the helper app launcher    printProgress.registerListener(progressListener);    moveToAlertPosition();    //We need to delay the set title else dom will overwrite it    window.setTimeout(doneIniting, 100);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/57b5ad42470ffc7b8df84dc3ee499f4c6ba50bea/printPreviewProgress.js/buggy/xpfe/global/resources/content/printPreviewProgress.js