rem: dump("nsIDOMWindow id value = " + nsIDOMWindow.id + "\n"); 
add: dump("@mozilla.org/js/xpc/ID;1OMWindow id value = " + nsIDOMWindow.id + "\n"); 
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();    dump("nsIDOMWindow id value = " + nsIDOMWindow.id + "\n");    var parent;    try {      if (this.mParentWindow) {        parent = this.mParentWindow;      } else if (typeof(window) == "object" && window != null) {        parent = window;      } else {        try {          var appShellService = Components.classes[APPSHELL_SERV_PROGID].getService(nsIAppShellService);          parent = appShellService.getHiddenDOMWindow();        } catch(ex) {          dump("Can't get parent.  xpconnect hates me so we can't get one from the appShellService.\n");          dump(ex + "\n");        }      }    } catch(ex) { dump("fuck\n"); }    try {      parent.openDialog("chrome://global/content/filepicker.xul",                        "",                        "chrome,modal,titlebar,resizeable=yes,dependent=yes",                        o);      this.mFile = o.retvals.file;      lastDirectory = o.retvals.directory;      return o.retvals.buttonStatus;    } catch(ex) { dump("unable to open file picker\n" + ex + "\n"); }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/nsFilePicker.js/clean/xpfe/components/filepicker/src/nsFilePicker.js