add: if (!dir.isReadable()) { var errorTitle = gFilePickerBundle.getFormattedString("errorOpenFileDoesntExistTitle", [dir.unicodePath]); var errorMessage = gFilePickerBundle.getFormattedString("errorDirNotReadableMessage", [dir.unicodePath]); var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService); promptService.alert(window, errorTitle, errorMessage); return false; }  
context: function openOnOK(){  var dir = outlinerView.getSelectedFile();  if (dir)    gotoDirectory(dir);  retvals.file = dir;  retvals.buttonStatus = nsIFilePicker.returnCancel;    var filterMenuList = document.getElementById("filterMenuList");  retvals.filterIndex = filterMenuList.selectedIndex;    return false;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/83ce43a0cfe2c926b0046a35a2a7e1499d2b29f8/filepicker.js/buggy/xpfe/components/filepicker/res/content/filepicker.js