rem: win.setAttribute( "title", this.mTitle ); 
add: this.mDialog.document.title = this.mTitle; 
context:     initDialog : function() {         // Put file name in window title.         var win   = this.dialogElement( "unknownContentType" );         var suggestedFileName = this.mLauncher.suggestedFileName;         // Some URIs do not implement nsIURL, so we can't just QI.         var url   = this.mLauncher.source;         var fname = "";         this.mSourcePath = url.prePath;         try {             url = url.QueryInterface( Components.interfaces.nsIURL );             // A url, use file name from it.             fname = url.fileName;             this.mSourcePath += url.directory;         } catch (ex) {             // A generic uri, use path.             fname = url.path;             this.mSourcePath += url.path;         }         if (suggestedFileName)           fname = suggestedFileName;                    this.mTitle = this.dialogElement("strings").getFormattedString("title", [fname]);         win.setAttribute( "title", this.mTitle );         // Put content type, filename and location into intro.         this.initIntro(url, fname);         var iconString = "moz-icon://" + fname + "?size=16&contentType=" + this.mLauncher.MIMEInfo.MIMEType;         this.dialogElement("contentTypeImage").setAttribute("src", iconString);         this.initAppAndSaveToDiskValues();         // Initialize "always ask me" box. This should always be disabled         // and set to true for the ambiguous type application/octet-stream.         // We don't also check for application/x-msdownload here since we         // want users to be able to autodownload .exe files.          var rememberChoice = this.dialogElement("rememberChoice");         if (this.mLauncher.MIMEInfo.MIMEType == "application/octet-stream") {            rememberChoice.checked = false;            rememberChoice.disabled = true;         }         else {            rememberChoice.checked = !this.mLauncher.MIMEInfo.alwaysAskBeforeHandling;         }         this.toggleRememberChoice(rememberChoice);                  // XXXben - menulist won't init properly, hack.          var openHandler = this.dialogElement("openHandler");         openHandler.parentNode.removeChild(openHandler);         var openParent = this.dialogElement("open").parentNode;         openParent.appendChild(openHandler);                  this.mDialog.setTimeout("dialog.postShowCallback()", 0);    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d03f509ba3b1c50e47d75b3442b76e94e1451a56/nsHelperAppDlg.js/buggy/toolkit/mozapps/downloads/content/nsHelperAppDlg.js