rem: (promptService.BUTTON_TITLE_IS_STRING * promptService.BUTTON_POS_0) + (promptService.BUTTON_TITLE_CANCEL * promptService.BUTTON_POS_1), okButton, null, null, null, {value:0}); 
add: (promptService.BUTTON_TITLE_YES * promptService.BUTTON_POS_0) + (promptService.BUTTON_TITLE_NO * promptService.BUTTON_POS_1), null, null, null, null, {value:0}); 
context: function openHomeDialog(aURL){  var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService);  var promptTitle = gNavigatorBundle.getString("droponhometitle");  var promptMsg   = gNavigatorBundle.getString("droponhomemsg");  var okButton    = gNavigatorBundle.getString("droponhomeokbutton");  var pressedVal  = promptService.confirmEx(window, promptTitle, promptMsg,                          (promptService.BUTTON_TITLE_IS_STRING * promptService.BUTTON_POS_0) +                          (promptService.BUTTON_TITLE_CANCEL * promptService.BUTTON_POS_1),                          okButton, null, null, null, {value:0});  if (pressedVal == 0) {    try {      var str = Components.classes["@mozilla.org/supports-string;1"]                          .createInstance(Components.interfaces.nsISupportsString);      str.data = aURL;      gPrefService.setComplexValue("browser.startup.homepage",                                   Components.interfaces.nsISupportsString, str);      var homeButton = document.getElementById("home-button");      homeButton.setAttribute("tooltiptext", aURL);    } catch (ex) {      dump("Failed to set the home page.\n"+ex+"\n");    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/92c02daba208cead20baff04027ba3e0bcb76a78/browser.js/clean/browser/base/content/browser.js