rem: return; 
add: return false; 
context: function onStart(){  var profileList = document.getElementById("profiles");  var selected = profileList.selectedItems[0];  var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].    getService(Components.interfaces.nsIPromptService);  var profilename = selected.getAttribute("profile_name");  if( selected.getAttribute("rowMigrate") == "no" ) {    var lString = gProfileManagerBundle.getString("migratebeforestart");    lString = lString.replace(/\s*<html:br\/>/g,"\n");    lString = lString.replace(/%brandShortName%/gi,                              gBrandBundle.getString("brandShortName"));    var title = gProfileManagerBundle.getString("migratetitle");    if (promptService.confirm(window, title, lString)) {      var profileDir = profile.getProfileDir(profilename);      if (profileDir) {        profileDir = profileDir.QueryInterface( Components.interfaces.nsIFile );        if (profileDir) {          if (!profileDir.exists()) {            var errorMessage = gProfileManagerBundle.getString("sourceProfileDirMissing");            var profileDirMissingTitle = gProfileManagerBundle.getString("sourceProfileDirMissingTitle");            promptService.alert(window, profileDirMissingTitle, errorMessage);              return false;                    }        }      }            profile.migrateProfile( profilename );    }    else      return false;  }  // start in online or offline mode  var offlineState = document.getElementById("offlineState");  var ioService = nsJSComponentManager.getServiceByID("{9ac9e770-18bc-11d3-9337-00104ba0fd40}",                                                  "nsIIOService");  ioService.offline = offlineState.checked;  try {    // All this really does is set the current profile.    // It has nothing to do with starting the application.    profile.startApprunner(profilename);  }  catch (ex) {	  var brandName = gBrandBundle.getString("brandShortName");        var message;    switch (ex.result) {      case Components.results.NS_ERROR_FILE_ACCESS_DENIED:        message = gProfileManagerBundle.getFormattedString("profDirLocked", [brandName, profilename]);        message = message.replace(/\s*<html:br\/>/g,"\n");        break;      case Components.results.NS_ERROR_FILE_NOT_FOUND:        message = gProfileManagerBundle.getFormattedString("profDirMissing", [brandName, profilename]);        message = message.replace(/\s*<html:br\/>/g,"\n");        break;      default:        message = ex.message;        break;  }      promptService.alert(window, null, message);      return;  }      return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/27aa624605ef7f3086d4607a7e6b64acbe19d604/profileSelection.js/clean/profile/resources/content/profileSelection.js