rem: var win = window.openDialog('chrome: 
add: var win = window.openDialog('chrome: 
context: function ConfirmDelete(){  deleteButton = document.getElementById("delbutton");  if( deleteButton.getAttribute("disabled") == "true" )    return;  var profileTree = document.getElementById( "profiles" );  var selected = profileTree.selectedItems[0];  var name = selected.getAttribute("rowName");  if( selected.firstChild.firstChild.getAttribute("rowMigrate") == "no" ) {      // auto migrate if the user wants to. THIS IS REALLY REALLY DUMB PLEASE FIX THE BACK END.    var lString = gProfileManagerBundle.getString("migratebeforedelete");    lString = lString.replace(/\s*<html:br\/>/g,"\n");    lString = lString.replace(/%brandShortName%/, gBrandBundle.getString("brandShortName"));    var title = gProfileManagerBundle.getString("deletetitle");    if (promptService.Confirm(window, title, lString)) {      profile.deleteProfile( name, false );      var profileKids = document.getElementById( "profilekids" )      profileKids.removeChild( selected );    }    return;  }  var win = window.openDialog('chrome://communicator/content/profile/deleteProfile.xul', 'Deleter', 'chrome,modal=yes,titlebar=yes');  return win;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/754cff3879dd22504bde524359ac98ac0931c15e/profileManager.js/clean/profile/resources/content/profileManager.js