rem: if (existingToolbar) { 
add: if (existingToolbar || !name.value) { 
context: function addNewToolbar(){  var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]                                .getService(Components.interfaces.nsIPromptService);  var stringBundle = document.getElementById("stringBundle");  var message = stringBundle.getString("enterToolbarName");  var title = stringBundle.getString("enterToolbarTitle");    var name = {};  while (1) {    if (!promptService.prompt(window, title, message, name, null, {})) {      return;    } else {      // Check for an existing toolbar with the same name and prompt again      // if a conflict is found      var nameToId = "__customToolbar_" + name.value.replace(" ", "");      var existingToolbar = gToolboxDocument.getElementById(nameToId);      if (existingToolbar) {        message = stringBundle.getFormattedString("enterToolbarDup", [name.value]);      } else {        break;      }    }  }      gToolbox.appendCustomToolbar(name.value, "");    repositionDialog();  gToolboxChanged = true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6f53a8f60e8ef43d73c52215305496bdf75f728e/customizeToolbar.js/clean/toolkit/content/customizeToolbar.js