rem: fp.appendFilter("JavaScript script (*.js)", "*.js"); 
add: fp.appendFilter(getMsg("file_browse_Script_spec"), "*.js"); 
context: function onChooseFile() {    try {    	var flClass = Components.classes["@mozilla.org/filepicker;1"];        var fp = flClass.createInstance(nsIFilePicker);        fp.init(window, "Choose a JavaScript script", nsIFilePicker.modeOpen);                fp.appendFilter("JavaScript script (*.js)", "*.js");        fp.appendFilters(nsIFilePicker.filterAll);                if (fp.show() == nsIFilePicker.returnOK && fp.fileURL.spec         	    && fp.fileURL.spec.length > 0)            gFileBox.value = fp.fileURL.spec;    }    catch(ex) {    }}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/a562b380ca8fd0f67dad5b043d40ac32f75d7150/startup-newScript.js/buggy/xul/content/prefpanel/startup-newScript.js