rem: Components.classes["component: 
add: Components.classes["@mozilla.org/appshell/commonDialogs;1"].getService(); 
context: function myPrompt(message, oldValue, title) {  /*   * Can't simply call javascript's "prompt" because it puts up a checkbox (see bug 41390)   * so we are using a local rewrite of prompt here.   *///  if bug 41390 gets fixed, use the following line and delete rest of routine//  prompt(message, oldValue, title); /* use this if bug 41390 gets fixed */  var newValue = { };  if (!title) {    title = " ";  }  var commonDialogService =    Components.classes["component://netscape/appshell/commonDialogs"].getService();  commonDialogService =    commonDialogService.QueryInterface(Components.interfaces.nsICommonDialogs);  commonDialogService.Prompt(window, title, message, oldValue, newValue)  return newValue.value;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0257791053c2b38e1dfaf2ee11afae973e82e394/WalletEditor.js/buggy/extensions/wallet/editor/WalletEditor.js