rem: this.mParentWindow.openDialog("chrome: "", "chrome,modal,resizeable=yes,dependent=yes", o); 
add: var parent; if (this.mParentWindow) { parent = this.mParentWindow; } else { parent = window; }  parent.openDialog("chrome: "", "chrome,modal,resizeable=yes,dependent=yes", o); 
context:   show: function() {    var o = new Object();    o.title = this.mTitle;    o.mode = this.mMode;    o.displayDirectory = this.mDisplayDirectory;    o.defaultString = this.mDefaultString;    o.filters = new Object();    o.filters.titles = this.mFilterTitles;    o.filters.types = this.mFilters;    o.retvals = new Object();    this.mParentWindow.openDialog("chrome://global/content/filepicker.xul",                                 "",                                 "chrome,modal,resizeable=yes,dependent=yes",                                 o);    this.mFile = o.retvals.file;    lastDirectory = o.retvals.directory;    return o.retvals.buttonStatus;  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/368596de6b2f2e10c9e66aa2d24ee5fd337e4252/nsFilePicker.js/buggy/xpfe/components/filepicker/src/nsFilePicker.js