add: gDialogParams.SetString(0, selectedProfile.profile.name);  
context: function acceptDialog(){  var appName = gBrandBundle.getString("brandShortName");  var profilesElement = document.getElementById("profiles");  var selectedProfile = profilesElement.selectedItem;  if (!selectedProfile) {    var pleaseSelectTitle = gProfileManagerBundle.getString("pleaseSelectTitle");    var pleaseSelect =      gProfileManagerBundle.getFormattedString("pleaseSelect", [appName]);    gPromptService.alert(window, pleaseSelectTitle, pleaseSelect);    return false;  }  var profileLock;  try {    profileLock = selectedProfile.profile.lock({ value: null });  }  catch (e) {    var lockedTitle = gProfileManagerBundle.getString("profileLockedTitle");    var locked =      gProfileManagerBundle.getFormattedString("profileLocked2", [appName, selectedProfile.profile.name, appName]);    gPromptService.alert(window, lockedTitle, locked);    return false;  }  gDialogParams.objects.insertElementAt(profileLock.nsIProfileLock, 0, false);  var autoSelectLastProfile = document.getElementById("autoSelectLastProfile");  gProfileService.startWithLastProfile = autoSelectLastProfile.checked;  gProfileService.selectedProfile = selectedProfile.profile;  /* Bug 257777 */  gProfileService.startOffline = document.getElementById("offlineState").checked;  gDialogParams.SetInt(0, 1);  return true;}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/ac3f40644148b0cb85364082f4a002e9e154d7db/profileSelection.js/buggy/toolkit/profile/content/profileSelection.js