rem: const kFilePickerPROGID = "component: var filePicker = nsJSComponentManager.createInstance(kFilePickerPROGID, kFilePickerIID); 
add: const kFilePickerCONTRACTID = "@mozilla.org/filepicker;1"; var filePicker = nsJSComponentManager.createInstance(kFilePickerCONTRACTID, kFilePickerIID); 
context:   loadDocumentWithUI: function ()  {    const kFilePickerIID = "nsIFilePicker";    const kFilePickerPROGID = "component://mozilla/filepicker";    var filePicker = nsJSComponentManager.createInstance(kFilePickerPROGID, kFilePickerIID);    if (filePicker) {      const FP = Components.interfaces.nsIFilePicker;      filePicker.init(window, "Open", FP.modeOpen);      // XUL VFDs      filePicker.appendFilter("XUL Files", "*.xul");      // XXX-TODO: add filters for other types, e.g. string tables            var filePicked = filePicker.show();      if (filePicked == FP.returnOK && filePicker.file) {        var file = filePicker.file.QueryInterface(Components.interfaces.nsILocalFile);        return this.loadDocument(file.path);      }    }    return null;  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0257791053c2b38e1dfaf2ee11afae973e82e394/vixen.js/clean/extensions/vixen/resources/content/vixen.js