rem: document.getElementById( "appName" ).value = this.chosenApp.unicodePath; 
add: document.getElementById( "appName" ).value = this.chosenApp.path; 
context:     initDialog : function () {        // "Always ask me" is always set (or else we wouldn't have got here!).        document.getElementById( "alwaysAskMe" ).checked = true;        document.getElementById( "alwaysAskMe" ).setAttribute("disabled", "true");          // Pre-select the choice the user made last time.        this.chosenApp = this.appLauncher.MIMEInfo.preferredApplicationHandler;        var applicationDescription = this.appLauncher.MIMEInfo.applicationDescription;        if (applicationDescription != "")           document.getElementById( "appName" ).value = applicationDescription;        else if (this.chosenApp)        {          // If a user-chosen application, show its path.          document.getElementById( "appName" ).value = this.chosenApp.unicodePath;        }        var saveToDisk = document.getElementById("saveToDisk");        if ( applicationDescription  && this.appLauncher.MIMEInfo.preferredAction != this.nsIMIMEInfo.saveToDisk ) {            saveToDisk.radioGroup.selectedItem = document.getElementById( "runApp" );        } else {            // Save to disk.            saveToDisk.radioGroup.selectedItem = saveToDisk;            // Disable choose app button.            document.getElementById( "chooseApp" ).setAttribute( "disabled", "true" );        }        // Put content type into dialog text.        var html = document.getElementById( "intro" );        if ( html && html.childNodes && html.childNodes.length ) {            // Get raw text.            var text = html.childNodes[ 0 ].nodeValue;            // Substitute content type for "#1".            text = text.replace( /#1/, this.appLauncher.MIMEInfo.MIMEType );            // Replace #2 with product name.            var brandBundle = srGetStrBundle("chrome://global/locale/brand.properties");            if ( brandBundle ) {                var product = brandBundle.GetStringFromName( "brandShortName" );                text = text.replace( /#2/, product );            }            // Replace text in document.            html.childNodes[ 0 ].nodeValue = text;        }        moveToAlertPosition();    },
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/e554d8362610c90f4ebe2db02722d04eb1194011/helperAppLauncher.js/buggy/xpfe/components/ucth/resources/helperAppLauncher.js